• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

These Custom Script IS ''driving'' me crazy!Help

Status
Not open for further replies.
Level 12
Joined
May 7, 2008
Messages
346
OK Here is the point.MY save/load code is nearly to end,but this custom scripts don't work!I will post map and custom script here!Please help me this time please!:cute:


ALWAYS ON EVERY ''DAMAGED'' TRIGGER IS ERROR:Line 291 expected a name

Code:
[B]SystemToolsCrpytKey[/B]

 set udg_keybuffer[ModuloInteger(GetForLoopIndexA(), udg_keybuffer_size)] = bxor( udg_keybuffer[ModuloInteger(GetForLoopIndexA(), udg_keybuffer_size)], B642I(SubStringBJ(udg_s, GetForLoopIndexA() + 1, GetForLoopIndexA() + 1)), 6 )


[B]SystemToolsCrypt[/B]

 set udg_keybuffer[ModuloInteger(GetForLoopIndexA(), udg_keybuffer_size)] = bxor( udg_keybuffer[ModuloInteger(GetForLoopIndexA(), udg_keybuffer_size)], B642I(SubStringBJ(udg_s, GetForLoopIndexA() + 1, GetForLoopIndexA() + 1)), 6 )


[B]SystemToolsDecrpyt[/B]

set udg_buf[GetForLoopIndexA()] = bxor( udg_buf[GetForLoopIndexA()], udg_keybuffer[ModuloInteger(GetForLoopIndexA(), udg_keybuffer_size)], 6 )


[B]Save Script[/B]

set udg_Size = udg_Size + CodeAddChecksum(udg_Size, udg_keycrc_size6, udg_keycrc)


[B]Load Script[/B]

call CodeParseString(udg_s)


[B]Check Script[/B]


set udg_s = GetStringChecksum (udg_s, udg_keycrc_size6, udg_keycrc)



These are problems in my map you can find these on end with save/load as an name.I will post map.Maybe someone knows the problem here...

https://www.hiveworkshop.com/forums/attachment.php?attachmentid=28132&d=1210186512






So if you need explanation from where did i copyed save and load i will give you map here!

Thanks in advance,Crusher8.You can pm me too about this
 

Attachments

Well, I know that doubleposting (or triple, in your case) is against the site rules and general netiquette, so we already sent out the feds, they can bust your doors any minute now.
But I also know that cracking jokes is also against the site rules, at least I got 4 negative rep last time I cracked one (did it suck that much?). Well, nevermind.
 
Status
Not open for further replies.
Back
Top