wc3edit.net

United Warcraft 3 map hacking!
It is currently January 6th, 2009, 5:59 am

 

All times are UTC




Post new topic Reply to topic  [ 64 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next
Author Message
 Post subject: >> JASS/GUI requests/questions in here <<
PostPosted: June 20th, 2008, 3:47 pm 
Offline
Co-Admin
User avatar

Joined: January 28th, 2007, 8:10 pm
Posts: 729
Location: Canada
Title: JASS Programmer
Yo, I've been away a while and have probably missed quite a few questions, requests and PMs.
So, to save me time and to answer your questions, please post in this thread any problems, inquiries or requests (JASS or GUI) you might have.
Also, please refrain from linking to a pre-existing thread.

Just a note: I'm in the middle of moving so I probably wont be accessing my computer or the internet for most of Saturday (tomorrow) and perhaps tonight.
Anyway, shoot any questions you have - I'll check back when I can.

_________________
Image


Top
 Profile  
 
 Post subject: Re: >> JASS/GUI requests in here <<
PostPosted: June 21st, 2008, 1:26 am 
Offline
Super Moderator
User avatar

Joined: June 8th, 2007, 5:08 am
Posts: 996
Location: Malaysia
Title: Not a Hacker
yeap the first question I guess.
what causes a player to be dropped/disconnected?

like the very old Aero's pack, when
the fog mask was removed the player drops.

like in fai's pack, when I shared vision, it's ok.
When I unshared vision, it drops a player.

Is that Blizzard problem or JASS problem?
hmm.....

_________________
ImageImageImage


Top
 Profile  
 
 Post subject: Re: >> JASS/GUI requests in here <<
PostPosted: June 21st, 2008, 1:47 am 
Offline
The Flying Cow!
User avatar

Joined: November 2nd, 2007, 10:34 pm
Posts: 1523
Location: Melbourne
Title: Uberfast Hacker
How can I cause a memory leak :D? In jass or gui, either. ^^

_________________
Experience is not what happens to you; it's what you do with what happens to you. - Aldous Huxley


Top
 Profile  
 
 Post subject: Re: >> JASS/GUI requests in here <<
PostPosted: June 23rd, 2008, 1:09 pm 
Offline
Co-Admin
User avatar

Joined: January 28th, 2007, 8:10 pm
Posts: 729
Location: Canada
Title: JASS Programmer
initiald wrote:
yeap the first question I guess.
what causes a player to be dropped/disconnected?

like the very old Aero's pack, when
the fog mask was removed the player drops.

like in fai's pack, when I shared vision, it's ok.
When I unshared vision, it drops a player.

Is that Blizzard problem or JASS problem?
hmm.....

First way to d/c is your internet taking a crap. Your internet goes out, you go out.
Second way to d/c is to have your warcraft desynchronized from everyone elses' by trying to run non-asynchronous code that no one else is.
Third way is random errors which you can't really control.

D/C is majorly and firstly due to the map's coding.

Ozzapoo wrote:
How can I cause a memory leak :D? In jass or gui, either. ^^

Code:
function MemoryLeaks takes nothing returns nothing
call TimerStart(CreateTimer(),0.001,true,function MemoryLeaks)
endfunction

function After5SecondsOfGameTime takes nothing returns nothing
call ExecuteFunc("MemoryLeaks")
endfunction


Only trouble is this will pretty much cause instant lock-up from leaks.

_________________
Image


Last edited by Aero on June 28th, 2008, 2:44 am, edited 2 times in total.
weirdone, gtfo my posts.


Top
 Profile  
 
 Post subject: Re: >> JASS/GUI requests in here <<
PostPosted: June 23rd, 2008, 4:29 pm 
Offline
Admin
User avatar

Joined: January 18th, 2007, 11:07 am
Posts: 588
Location: Ulm, Germany
Title: Der überwacher
muliboard problem. You any good at these? I jave one installed into my map, but its a little cuckoo. If you want to take a look to se if it can be fixed, let me know.

_________________
Image


Top
 Profile  
 
 Post subject: Re: >> JASS/GUI requests in here <<
PostPosted: June 23rd, 2008, 6:47 pm 
Offline
Co-Admin
User avatar

Joined: January 28th, 2007, 8:10 pm
Posts: 729
Location: Canada
Title: JASS Programmer
Vegas wrote:
muliboard problem. You any good at these? I jave one installed into my map, but its a little cuckoo. If you want to take a look to se if it can be fixed, let me know.


Sure, I can take a look but I don't have access to any of my WC3 tools or JassCraft or w/e for probably 1-2 days.
You should post a list of all the problems and when they occur and either attach a code sample or the map.

_________________
Image


Top
 Profile  
 
 Post subject: Re: >> JASS/GUI requests in here <<
PostPosted: June 23rd, 2008, 8:48 pm 
Offline
Member

Joined: January 6th, 2008, 10:05 pm
Posts: 43
Passive Ability: 10% chance that whenever an enemy unit casts an spell on unit with ability A, that unit will cast the same spell back on the enemy.

How do I script the spells part in Jass? The only part I can write is the chance part which I can easily read.


Top
 Profile  
 
 Post subject: Re: >> JASS/GUI requests in here <<
PostPosted: June 23rd, 2008, 9:03 pm 
Offline
The Flying Cow!
User avatar

Joined: November 2nd, 2007, 10:34 pm
Posts: 1523
Location: Melbourne
Title: Uberfast Hacker
Aero wrote:
Only trouble is this will pretty much cause instant lock-up from leaks.

What do you mean :??

_________________
Experience is not what happens to you; it's what you do with what happens to you. - Aldous Huxley


Top
 Profile  
 
 Post subject: Re: >> JASS/GUI requests in here <<
PostPosted: June 24th, 2008, 4:25 pm 
Offline
Co-Admin
User avatar

Joined: January 28th, 2007, 8:10 pm
Posts: 729
Location: Canada
Title: JASS Programmer
Ozzapoo wrote:
Aero wrote:
Only trouble is this will pretty much cause instant lock-up from leaks.

What do you mean :??
Just look at that code and think about what it does...It will consume all your RAM nearly instantly and bog down your OS to the point where you might have to reboot your comp.

grand wrote:
Passive Ability: 10% chance that whenever an enemy unit casts an spell on unit with ability A, that unit will cast the same spell back on the enemy.

How do I script the spells part in Jass? The only part I can write is the chance part which I can easily read.


I can do this for you NP but I need to know what kind of spells are to be "mirrored back".
I'm assuming it's just unit-targetted spells (and nothing triggered?).
Do I need to include channelled spells? (Such as life drain)?
If a spell costs 500 mana to cast and the target has 100 mana,is the spell reflected? Does it cost mana?
Do spells with a casting time become instant cast?
Does the ability appear on the unit and then the unit casts it or does the target just cast it?
Do targetted abilities like "Kaboom" which suicide the caster apply? (If you try to reflect Kaboom, do you suicide)? (Does it reflect)?

I need information like this before I can try to work something out.

666 posts btw!

_________________
Image


Top
 Profile  
 
 Post subject: Re: >> JASS/GUI requests in here <<
PostPosted: June 24th, 2008, 5:16 pm 
Offline
Ex-Moderator
User avatar

Joined: October 20th, 2007, 11:03 am
Posts: 1718
Location: Germany
Title: Retired Member.
[Off-Topic, sry :P]
Gratz Aero, u are coming to Hell, soon :P

_________________
Image
Official Noob Killer of wc3edit.net .
Image
Note: I only take Rpg's Requests with Singleplayer enabled.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 64 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Privacy Policy Statement
Impressum (German)