a advice with lot of scripts
a advice with lot of scripts
This problem only appear on multiplayer:
scripts 70-84 i will never use, this script is not working on mp, i dont know the cause. But recently happen something more weird: i am working on my mod MKII for skulltag/zandronum and since yesterday the script 114 works fine on mp. When i added more scripts (642-658), for some reazon the script 114 only works 1 time on mp (but 113 and 115 works very good). Later i fixed the problem changing the number of script 114 is now 314. And since now, i need to be carefull with how many scripts i will include, becuase could affect the olders. Aprox i am using 400 scripts, and maybe more than someone will happen the same.
This is how looks the script, is very simple:
SCRIPT 114 (VOID) NET
{
NOSPECIAL2=FALSE;
NOSPECIAL22=FALSE;
}
This problem is selective, could affect any script.
scripts 70-84 i will never use, this script is not working on mp, i dont know the cause. But recently happen something more weird: i am working on my mod MKII for skulltag/zandronum and since yesterday the script 114 works fine on mp. When i added more scripts (642-658), for some reazon the script 114 only works 1 time on mp (but 113 and 115 works very good). Later i fixed the problem changing the number of script 114 is now 314. And since now, i need to be carefull with how many scripts i will include, becuase could affect the olders. Aprox i am using 400 scripts, and maybe more than someone will happen the same.
This is how looks the script, is very simple:
SCRIPT 114 (VOID) NET
{
NOSPECIAL2=FALSE;
NOSPECIAL22=FALSE;
}
This problem is selective, could affect any script.
Last edited by doomero on Mon Jun 24, 2013 2:45 pm, edited 1 time in total.
RE: a advice with to much acs
If I understand you, your scripts work or don't work based on what their script numbers happen to be? That sounds like something that definitely should not happen, unless they were conflicting with other scripts having the same script number.
- Lord_of_D:
- Posts a lot
- Posts: 691
- Joined: Sun Aug 26, 2012 5:31 am
- Location: Mexico
- Contact:
RE: a advice with to much acs
something tell me what you are like tormentor, but with scripts instead of sectors(aka 1000 sectors are not enough). btw, whats mp, MultiPlayer?
Last edited by Lord_of_D: on Mon Jun 24, 2013 3:04 am, edited 1 time in total.
RE: a advice with to much acs
I am only using 1 file of acs for the map, is a strange problem, my theory is, if i add scripts since script 640, could affect one of the scripts 1-255 and yes mp= multiplayer. BTW that not mean i have 640 scripts, normaly i use for example: script 1 for player 1, script 2 for player, or script 331 for p1 and 341 for p2 or script 148 for p1 and 248 for p2, the reazon is for not confuse the scripts when i apply this on decorate actors, but around 400 scripts i have.
- Torr Samaho
- Lead Developer
- Posts: 1543
- Joined: Fri May 25, 2012 6:03 pm
- Location: Germany
RE: a advice with lot of scripts
That sounds very weird. Can you try to condense this to a minimal example wad? If the number of scripts is a problem, it should be sufficient to include enough dummy scripts that do nothing.
RE: a advice with lot of scripts
i will try Torr, but ia a done the scripts (not all) 60-80 are not working on mp, the other issue is dificult to reproduce, becuase is selective and not necesary will affect again the script 114.
Last edited by doomero on Wed Jun 26, 2013 1:18 am, edited 1 time in total.
RE: a advice with lot of scripts
So, it only executes once?
I think you should do one of these options:
1. instead of action 80, action 226
2. check repeatable action
3. multiple lines executing the script.
I'm not a pro scripter, i've been scripting for a while now and this might help :p
I think you should do one of these options:
1. instead of action 80, action 226
2. check repeatable action
3. multiple lines executing the script.
I'm not a pro scripter, i've been scripting for a while now and this might help :p
RE: a advice with lot of scripts
the decorate actor use acs_executealways and always execute the script when the actor enter to the iddle/see state and still the issue and later i changed the script number for fix that.Mr.Man wrote: So, it only executes once?
I think you should do one of these options:
1. instead of action 80, action 226
2. check repeatable action
3. multiple lines executing the script.
I'm not a pro scripter, i've been scripting for a while now and this might help :p
-
Watermelon
- Zandrone
- Posts: 1244
- Joined: Thu Jun 28, 2012 9:07 pm
- Location: Rwanda
RE: a advice with lot of scripts
Put some A_Print or w/e it is before the script activation so we can get a print out for your console if it is infact going there multiple times
RE: a advice with lot of scripts
This is usually how I debug my scripts, too.Watermelon wrote: Put some A_Print or w/e it is before the script activation so we can get a print out for your console if it is infact going there multiple times
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)

Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)

