[Conversion] 2 jass lines =/

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
Frag_Masta
Senior Member
Posts: 174
Joined: June 24th, 2007, 7:44 am
Title: Pleb
Location: NSW

[Conversion] 2 jass lines =/

Post by Frag_Masta »

Excuse me i'm trying to convert a old map so it works i've got this section to go and i'm done

Code: Select all


local real Max = 0

loop
if Abstand[Index] > Max then
set Max = Abstand[Index]
endif
exitwhen Index == 3
set Index = Index + 1
endloop
set Interval[0] = Differenz[0]/Max
set Interval[1] = Differenz[1]/Max
set Interval[2] = Differenz[2]/Max
set Interval[3] = Differenz[3]/Max
set Index = 0

The

Code: Select all

"local real Max = 0"
is defined a few lines before that and thats the only place it is used and i was wondering could someone explain how to fix it so Jass Doesn't give the Error when i run Syntax Checker
"Symbol Max already defined as function"

Thanks to anyone who helps me it is much appreciated
Last edited by GeorgeMots on July 6th, 2010, 10:57 am, edited 1 time in total.
Reason: moved
Spoiler:

Code: Select all

(19:48:44) dDemoneEvil: Frag_Masta
(19:48:47) dDemoneEvil: Spam.
(19:48:59) Frag_Masta: dDemoneEvil
(19:49:02) Frag_Masta: Spam..
(19:49:13) Tupac_Shakur: You both spam.
(19:49:24) Frag_Masta: Really?...


Code: Select all

(21:10:58) quosai: brb .a start
(21:11:08) Panda-Assassin: what the hell is .a?
(21:11:14) Frag_Masta: who cares?
(21:11:17) quosai: alright master 2pac
(21:11:24) quosai: .a mean dota
(21:11:28) quosai: sir
(21:11:34) Frag_Masta: why don't you type dota
(21:11:41) Frag_Masta: you really that lazy?
(21:11:42) quosai: brb .a start lol

Code: Select all

(18:03:26) Bartimaeus: Once again, congratulations, it's probably not you
(18:03:34) Frag_Masta: :D
(18:03:38) Frag_Masta: YUS!
(18:03:50) Frag_Masta: i dont feel like such a failure now
(18:03:55) Bartimaeus: lol
User avatar
xYeta
Senior Member
Posts: 140
Joined: June 4th, 2010, 10:47 am
Location: Now 'n everywhere.

Re: [Conversion] 2 jass lines =/

Post by xYeta »

Hmm, change the 'Max' to someother name? Like 'pro' 'dumb' or something. :o
Image
1 l1ek t0 trOl1
User avatar
Frag_Masta
Senior Member
Posts: 174
Joined: June 24th, 2007, 7:44 am
Title: Pleb
Location: NSW

Re: [Conversion] 2 jass lines =/

Post by Frag_Masta »

Thanks Jass just accepted it Testing now i'll repost in a couple Minutes

EDIT: Nope i Failed somewhere damit. "Game Not Found", @xYeta But thanks for helpin me with that Prob

If Anyone is interested it Helping LINK if not i understand
Spoiler:

Code: Select all

(19:48:44) dDemoneEvil: Frag_Masta
(19:48:47) dDemoneEvil: Spam.
(19:48:59) Frag_Masta: dDemoneEvil
(19:49:02) Frag_Masta: Spam..
(19:49:13) Tupac_Shakur: You both spam.
(19:49:24) Frag_Masta: Really?...


Code: Select all

(21:10:58) quosai: brb .a start
(21:11:08) Panda-Assassin: what the hell is .a?
(21:11:14) Frag_Masta: who cares?
(21:11:17) quosai: alright master 2pac
(21:11:24) quosai: .a mean dota
(21:11:28) quosai: sir
(21:11:34) Frag_Masta: why don't you type dota
(21:11:41) Frag_Masta: you really that lazy?
(21:11:42) quosai: brb .a start lol

Code: Select all

(18:03:26) Bartimaeus: Once again, congratulations, it's probably not you
(18:03:34) Frag_Masta: :D
(18:03:38) Frag_Masta: YUS!
(18:03:50) Frag_Masta: i dont feel like such a failure now
(18:03:55) Bartimaeus: lol
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND

Re: [Conversion] 2 jass lines =/

Post by haxorico »

game not found could be from so many stuff :O
cant say for sure..
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
User avatar
Frag_Masta
Senior Member
Posts: 174
Joined: June 24th, 2007, 7:44 am
Title: Pleb
Location: NSW

Re: [Conversion] 2 jass lines =/

Post by Frag_Masta »

yea =/ *cries*
Spoiler:

Code: Select all

(19:48:44) dDemoneEvil: Frag_Masta
(19:48:47) dDemoneEvil: Spam.
(19:48:59) Frag_Masta: dDemoneEvil
(19:49:02) Frag_Masta: Spam..
(19:49:13) Tupac_Shakur: You both spam.
(19:49:24) Frag_Masta: Really?...


Code: Select all

(21:10:58) quosai: brb .a start
(21:11:08) Panda-Assassin: what the hell is .a?
(21:11:14) Frag_Masta: who cares?
(21:11:17) quosai: alright master 2pac
(21:11:24) quosai: .a mean dota
(21:11:28) quosai: sir
(21:11:34) Frag_Masta: why don't you type dota
(21:11:41) Frag_Masta: you really that lazy?
(21:11:42) quosai: brb .a start lol

Code: Select all

(18:03:26) Bartimaeus: Once again, congratulations, it's probably not you
(18:03:34) Frag_Masta: :D
(18:03:38) Frag_Masta: YUS!
(18:03:50) Frag_Masta: i dont feel like such a failure now
(18:03:55) Bartimaeus: lol
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: [Conversion] 2 jass lines =/

Post by Ken »

The best way I've found of seeing what's wrong is to deprotect the map so you can open it in WE, and try to save it. It'll tell you where the errors are, and you can fix them from that.
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that