A Code for adding +5 str, +5agi, +5int automatically

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
-WarChaser-
Senior Member
Posts: 115
Joined: July 30th, 2009, 1:22 pm

Re: A Code for adding +5 str, +5agi, +5int automatically

Post by -WarChaser- »

We need more info , what error when you try to create the map? If could , upload a picture .
W C 3 E D I T . N E T S U C K S M Y B A L L ! ! :lol: :lol:
yn_gbrl
Newcomer
Posts: 15
Joined: December 2nd, 2008, 5:17 am

Re: A Code for adding +5 str, +5agi, +5int automatically

Post by yn_gbrl »

I also just insert, only these codes at endglobals section and still cant create the map..

elseif SubString(s2s,0,6)=="-cs"then
call SetHeroAgi(u2u,GetHeroAgi(u2u,false)+5,true)
call SetHeroStr(u2u,GetHeroStr(u2u,false)+5,true)
call SetHeroInt(u2u,GetHeroInt(usu,false)+5,true)
User avatar
-WarChaser-
Senior Member
Posts: 115
Joined: July 30th, 2009, 1:22 pm

Re: A Code for adding +5 str, +5agi, +5int automatically

Post by -WarChaser- »

Open the .j file , F9 Syntax check.
W C 3 E D I T . N E T S U C K S M Y B A L L ! ! :lol: :lol:
yn_gbrl
Newcomer
Posts: 15
Joined: December 2nd, 2008, 5:17 am

Re: A Code for adding +5 str, +5agi, +5int automatically

Post by yn_gbrl »

Sir FatherSpace,

Look what ive found out... your codes, after i posted it here... i noticed that...

elseif SubString(s2s,0,6)=="-cs"then
call SetHeroAgi(u2u,GetHeroAgi(u2u,false)+5,true)
call SetHeroStr(u2u,GetHeroStr(u2u,false)+5,true)
call SetHeroInt(u2u,GetHeroInt(usu,false)+5,true) <<<<< i guessed its a typo error and just changed it to....

elseif SubString(s2s,0,6)=="-cs"then
call SetHeroAgi(u2u,GetHeroAgi(u2u,false)+5,true)
call SetHeroStr(u2u,GetHeroStr(u2u,false)+5,true)
call SetHeroInt(u2u,GetHeroInt(u2u,false)+5,true)

And now... The Map is perfectly working!

Thank you so much FatherSpace... Your One of the Best here!..

Credits To you Sir!
yn_gbrl
Newcomer
Posts: 15
Joined: December 2nd, 2008, 5:17 am

Re: A Code for adding +5 str, +5agi, +5int automatically

Post by yn_gbrl »

Sir Warchaser,

Problems all solved, syntax error (typo error) =)
Thanks also to you, for your time giving suggestions here...
User avatar
-WarChaser-
Senior Member
Posts: 115
Joined: July 30th, 2009, 1:22 pm

Re: A Code for adding +5 str, +5agi, +5int automatically

Post by -WarChaser- »

You're welcome but next time don't double post .
W C 3 E D I T . N E T S U C K S M Y B A L L ! ! :lol: :lol: