HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Caster System collding w/ other systems?

03-02-2006, 07:44 PM#1
Switch33
Hey i recently installed the caster system into my map and an error occured.. so i updated all the other systems that i had that you made vexorian. This still resulted in an error and well i still think its the caster system plus something else that are colliding. I was hoping u could give me your comments on it. Also its too big, so i'll split it in half and post the second half right after.

Quote:
Code removed by vexorian
I dislike the idea to let people see years of work (literally) without downloading any demo map of mine
03-03-2006, 02:13 PM#2
Vexorian
It would be more helpful if you told me the error and the line it points to

Edit: What kind of crazy map is it that you had to use every single system I have invented?
03-03-2006, 02:53 PM#3
Zoxc
Quote:
Originally Posted by Vexorian
It would be more helpful if you told me the error and the line it points to

Edit: What kind of crazy map is it that you had to use every single system I have invented?

That map must be big'n slow.

Anyway PJASS thinks that you miss these functions:
Code:
InvX_EmptySpaceItemId
SimError
They might been added in the wrong order.
03-03-2006, 07:37 PM#4
Switch33
Also i know its big, but most map custom scripts are if they want to have less leaks and harder spells. Its not every system u invented, i'm not using your save/ load code, and im probably not gonna use all the templates you have, also i am going to make my own abillities using the templates and ya i know its a lot of work doing all this but if a bunch of ppl gaze around at diff sections every now and then someone might notice what happened. Just something i need to work on but i'll fix it eventually i probably will reduce my maps playing size as well to prevent lag cause of it being too big. Also it doesn't just point to one line but a lot of em. Anyways here i'll see if i can post it: Lines 176, 180, 184, 188, 192, 196, 200, 214, 219, 224, 230, 234, 271,303, 308, 315, 339, 370, 378, 409, 417, 420, 428, 436,441, 449, 454, 462, 467, 475, 479, 483, 487, 491, 495, 499, 503, 511, 515, 519,523, 527, 531, 535, 539, 571, 572, 577, 580, 585, 590, 610, 615,
624, 628, 642, 665, 685, 688, 693, 708, 714, 723, 728, 737, 742.. i hope thats wut u wanted rofl cause that took a while..

And in response to Zoxc, um.. i had an oldler ver of the castersystem before with the sim error before the caster system and it worked fine. So i don't know but i'll try your solution soon.

I think it might be the handle vars that might be messing it up, i guess i'll seperate the scripts and combine some of em differently in diff orders and wutnot to see if it works.

Edit: For the Invx function, yea i do have it in there.. hmm.. and sim error is above the caster system.. i'm gonna check it and see wut happens if i move it below the caster system.

Edit(2): Nope, still nothing... hmm wow this is annoying.. but it can't be two of vex's systems colliding probably so that leaves most likely the PATH SPAWN SYSTEM and the HANDLE VARS and they must be interfering with themselves or with some of vex's systems.

Also i don't know if this helps but i'll post it anyways(The order of the main systems just with the name that are most likely to be collding.): Sim Error, Handle Vars, Caster System, Bonus Mod, InvX Item, InvX, Creep Camp Respawn, Hero Selection System, Attack Detection Engine, Spell Templates, Path System, Attribute Menu Function
03-04-2006, 01:35 AM#5
Vexorian
It is hard to me to guess where those lines are, please, please send me the map to my email
03-04-2006, 02:43 AM#6
Switch33
Wait wut..? why would u need the map.. all you really have to do is make a map and put that in the custom script section.. plus my map isn't the prettiest site now with like half of its triggers disabled that aren't even causing the problem..

To find the lines i checked in Jasscraft not the real editor, also cause the real editor would be harder to look at.

I've thoroughly checked several times and its just this custom script part that seems to be occuring with an error.
Also if you still want me to send it, it could help first if u told me your e-mail before asking me to send it to you by e-mail lol.. just a thought.. Also um.. i'm not trying to sound mean im just trying to help, and im sorry if u take anything i say offensive.
03-04-2006, 08:35 PM#7
Vexorian
but it coud be caused by anything else I can't just copy the custom script either because there could be variables and stuff , it also seemed you had missing stuff in the code you pasted.


And I won't tell you my email, sorry but there are thousands of ways of figuring it out for example try clicking my name in this post?
03-05-2006, 12:19 AM#8
Switch33
true ya i thought about the variables not that long ago.. ya and i did that before by clicking ur name on the post it didn't say wut ur e-mail was but it said (Link): Do you want to send me an e-mail, i clicked it and it said that in order to send you an e-mail i must have permission from the adminstrators so im a bit confused as to wut to do... also wut other stuff besides maybe a missing variable, do you think could be missing? all my triggers are basically disabled due to the state its in...

Edit: oh ok, now it allows me to see ur e-mail i'll send it now..
03-05-2006, 12:23 AM#9
Vexorian
It should be working now
03-05-2006, 02:26 AM#10
Vexorian
After adding :


Collapse JASS:
function InvX_EmptySpaceItemId takes nothing returns integer
   return 0
endfunction

function GetPassiveAbilityUser takes nothing returns unit
   return null
endfunction

function GetPassiveAbilityId takes nothing returns integer
   return 0
endfunction



function ChanceToChargedBolts_Cap takes nothing returns integer
    return 0
endfunction

function ChanceToChargedBolts_Cooldown takes integer l returns integer
    return 0
endfunction

To custom script section, I was able to enable and compile all the triggers but the archmage save/loading example which btw has nothing to do there at all.

It seems *something happened* and those functions were deleted.

I do not believe ghosts can manipulate PCs so I am gonna suppose you accidentally deleted them when copying other stuff?
03-05-2006, 04:25 AM#11
Switch33
ya i know that was intially disabled before the error occured i just kept it there to look at every now and then incase i ever needed to use it i guess i forgot about it lol...

Edit: um.. i just tried wut you said and no luck..and if you were too look in there the invx empty space item is still in there i think.. If you really got it to work can u send me it through e-mail or something?

hmm im gonna keep trying to put those in were there supposed to.. its not that u just put them in the front or in the back and it worked is it? Yep.. its still not working.. can u send it to me by e-mail?
03-05-2006, 11:43 AM#12
Vexorian
I skipped one of the triggers, it needed:

Collapse JASS:
function SetupSpecialEvents takes nothing returns nothing
   
endfunction

Of course, you have to get the real versions of these missing functions