wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Hosted Projects > Personal User Projects > Vexorian Spells and Systems
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Closed Thread
 
Thread Tools Search this Thread
Old 08-30-2004, 01:20 AM   #1
Eeporgorg
User
 
Eeporgorg's Avatar
 
Join Date: Feb 2004
Posts: 91

Eeporgorg has little to show at this moment (0)

Send a message via AIM to Eeporgorg
Default

Ok. I did every single step of the implementation, making sure everything was correct. I made my trigger, tried to test it, and I get an error called "expected a name" The line of jass is the line of custom code, but I know that can't be the problem, because I copied the custom code for the 'Grenade' spell(Through Copy + Past action), and it had the same error.

Just incase some how this is the code's fault, here it is.

Custom script: call ProjectileLaunchDamageLoc( GetOwningPlayer(udg_Caster), "Abilities\\Weapons\\PhoenixMissile\\Phoenix_Missile_mini.mdl", 522, 0, udg_CasterPoint, 100, udg_TargetPoint, 0, 50,200,false)

(NOTE: The blank space between the "Missil" and "e" in the model path is not there, it's just a bug in the forums.)


Please help, Lord Vexorian.
Eeporgorg is offline  
Sponsored Links - Login to hide this ad!
Old 08-30-2004, 06:30 PM   #2
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,905

Submissions (37)

Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)

Hero Contest #3 - 2nd Place

Default

Quote:
Originally Posted by EePoRgOrG
Ok. I did every single step of the implementation, making sure everything was correct. I made my trigger, tried to test it, and I get an error called "expected a name" The line of jass is the line of custom code, but I know that can't be the problem, because I copied the custom code for the 'Grenade' spell(Through Copy + Past action), and it had the same error.

Just incase some how this is the code's fault, here it is.

Custom script: call ProjectileLaunchDamageLoc( GetOwningPlayer(udg_Caster), "Abilities\\Weapons\\PhoenixMissile\\Phoenix_Missile_mini.mdl", 522, 0, udg_CasterPoint, 100, udg_TargetPoint, 0, 50,200,false)

(NOTE: The blank space between the "Missil" and "e" in the model path is not there, it's just a bug in the forums.)


Please help, Vexorian.
Could be anything, I need to see the complete trigger, also could be that the Caster variable you are using is misspelt or something like that
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline  
Old 08-30-2004, 07:30 PM   #3
Eeporgorg
User
 
Eeporgorg's Avatar
 
Join Date: Feb 2004
Posts: 91

Eeporgorg has little to show at this moment (0)

Send a message via AIM to Eeporgorg
Default

I think I figured it out. This happened with an earlier version of the caster system, too. I think you get problems if you use the word "Caster" as a unit variable. I changed it to find the direct location of the casting unit, and it works fine, now.
Eeporgorg is offline  
Old 08-30-2004, 07:33 PM   #4
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,905

Submissions (37)

Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)

Hero Contest #3 - 2nd Place

Default

that doesn't have any sense, so your problem was something else, I think you just misspelt the variable name
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline  
Old 08-30-2004, 07:35 PM   #5
Eeporgorg
User
 
Eeporgorg's Avatar
 
Join Date: Feb 2004
Posts: 91

Eeporgorg has little to show at this moment (0)

Send a message via AIM to Eeporgorg
Default

That could be, but it isn't a coincedence that 2 different maps, time periods, but the same name "Caster" screw up the jass.
Eeporgorg is offline  
Old 08-30-2004, 07:39 PM   #6
Eeporgorg
User
 
Eeporgorg's Avatar
 
Join Date: Feb 2004
Posts: 91

Eeporgorg has little to show at this moment (0)

Send a message via AIM to Eeporgorg
Default

God, I am the dumbest man on earth.Lord Vexorian, please give me negative rep, I figured out what happened.

Everytime I tried testing it, the custom script reset. So if I fixed 1 error, it would make it an error again. So "CasterPoint" was supposed to be "CastPoint"

I feel a little embarrased for calling your system faulty, when it was my stupidity all along :(

Rep for you, just for putting up with me.
Eeporgorg is offline  
Old 08-30-2004, 07:40 PM   #7
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,905

Submissions (37)

Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)Vexorian has a reputation beyond repute (1060)

Hero Contest #3 - 2nd Place

Default

it is a coincidence, because JASS isn't alchemy, having a variable that isn't used by the functions can't affect them
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 03:41 AM.


Donate

Affiliates
The Hubb http://bylur.com - Warcraft, StarCraft, Diablo and DotA Blog & Forums The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2014, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services