>> JASS/GUI requests/questions in here <<

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

>> JASS/GUI requests/questions in here <<

Post by Aero »

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.
initialD
Some Honorary Title
Posts: 1713
Joined: June 8th, 2007, 5:08 am
Title: Angry Bird

Re: >> JASS/GUI requests in here <<

Post by initialD »

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.....
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: >> JASS/GUI requests in here <<

Post by Ozzapoo »

How can I cause a memory leak :D? In jass or gui, either. ^^
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: >> JASS/GUI requests in here <<

Post by Aero »

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: Select all

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.
Last edited by Aero on June 28th, 2008, 2:44 am, edited 2 times in total.
Reason: weirdone, gtfo my posts.
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1819
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 120 times
Been thanked: 10 times

Re: >> JASS/GUI requests in here <<

Post by Vegas »

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.
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: >> JASS/GUI requests in here <<

Post by Aero »

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.
grand
Member
Posts: 67
Joined: January 6th, 2008, 10:05 pm

Re: >> JASS/GUI requests in here <<

Post by grand »

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.
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: >> JASS/GUI requests in here <<

Post by Ozzapoo »

Aero wrote:Only trouble is this will pretty much cause instant lock-up from leaks.
What do you mean :??
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: >> JASS/GUI requests in here <<

Post by Aero »

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!
Bushido

Re: >> JASS/GUI requests in here <<

Post by Bushido »

[Off-Topic, sry :P]
Gratz Aero, u are coming to Hell, soon :P