I tried to add the repz weapons to the old tsd menu and after bitching around with some syntax errors i get a final syntax error which isnt shown in console and now i dont really get the fuck is wrong... normally all should be fine could someone throw an eye on it?
02-27-2015, 17:02 (This post was last modified: 02-27-2015, 17:13 by Nekochan.)
Repz.. ugly one.
Maybe this one?
Code:
[ 10930] ******* script compile error *******
[ 10931] Howdy there, fella' - it seems you made a mistake!
[ 10933] Error: unknown function updatesessionstate in maps/mp/gametypes/_playerlogic.gsc
[ 10935] ************************************
[ 11082] ERROR: No languages available because no localized assets were found
[ 11087] ********************
EDIT: Oh it's syntax. Try to turn on "logfile 2".
Too much files to check, maybe you'll tell the last file you have modified/added?
Umm I am not sure about this in _rank.gsc in OnPlayerSpawned:
02-27-2015, 18:29 (This post was last modified: 02-27-2015, 18:32 by rvyASVP.)
(02-27-2015, 17:02)Nekochan Wrote: Repz.. ugly one.
Maybe this one?
Code:
[ 10930] ******* script compile error *******
[ 10931] Howdy there, fella' - it seems you made a mistake!
[ 10933] Error: unknown function updatesessionstate in maps/mp/gametypes/_playerlogic.gsc
[ 10935] ************************************
[ 11082] ERROR: No languages available because no localized assets were found
[ 11087] ********************
EDIT: Oh it's syntax. Try to turn on "logfile 2".
Too much files to check, maybe you'll tell the last file you have modified/added?
Umm I am not sure about this in _rank.gsc in OnPlayerSpawned:
Code:
self.pers["giveOnSpawn"] == "true"
Remove "
i just changed some things in a few gscs:
class,select,text,menucont
And the most errors i got were in the text gsc
Uhm I added all of them at once in these 4 gscs but i had to fuck with syntaxes but now it dowsnt show where these exactly are because the client crashes....
The 4 Gscs:
Text
Select
Class
MenuCont
Keyterms:
Ballista/Dsr/L96a1
WeaponStatus (16)
(02-28-2015, 09:51)rvyASVP Wrote: Uhm I added all of them at once in these 4 gscs but i had to fuck with syntaxes but now it dowsnt show where these exactly are because the client crashes....
The 4 Gscs:
Text
Select
Class
MenuCont
Keyterms:
Ballista/Dsr/L96a1
WeaponStatus (16)
These are some main things i had to use there
I cant find anything by eye, did you try the FFViewer syntax checker?
Code:
self maps\mp\perks\_perks::givePerk( ""); // Cold-Blooded Pro
(02-28-2015, 09:51)rvyASVP Wrote: Uhm I added all of them at once in these 4 gscs but i had to fuck with syntaxes but now it dowsnt show where these exactly are because the client crashes....
The 4 Gscs:
Text
Select
Class
MenuCont
Keyterms:
Ballista/Dsr/L96a1
WeaponStatus (16)
These are some main things i had to use there
I cant find anything by eye, did you try the FFViewer syntax checker?
Code:
self maps\mp\perks\_perks::givePerk( ""); // Cold-Blooded Pro
wot?
didnt know about the syntax checker, ill try it out
And this is for a Function in the menu, not only building a class, also selecting perks
(02-28-2015, 09:51)rvyASVP Wrote: Uhm I added all of them at once in these 4 gscs but i had to fuck with syntaxes but now it dowsnt show where these exactly are because the client crashes....
The 4 Gscs:
Text
Select
Class
MenuCont
Keyterms:
Ballista/Dsr/L96a1
WeaponStatus (16)
These are some main things i had to use there
I cant find anything by eye, did you try the FFViewer syntax checker?
Code:
self maps\mp\perks\_perks::givePerk( ""); // Cold-Blooded Pro
wot?
didnt know about the syntax checker, ill try it out
And this is for a Function in the menu, not only building a class, also selecting perks
The syntax checker is not very powerful, but well, sometimes it does its job
(02-28-2015, 09:51)rvyASVP Wrote: Uhm I added all of them at once in these 4 gscs but i had to fuck with syntaxes but now it dowsnt show where these exactly are because the client crashes....
The 4 Gscs:
Text
Select
Class
MenuCont
Keyterms:
Ballista/Dsr/L96a1
WeaponStatus (16)
These are some main things i had to use there
I cant find anything by eye, did you try the FFViewer syntax checker?
Code:
self maps\mp\perks\_perks::givePerk( ""); // Cold-Blooded Pro
wot?
ffviewer says i have a close bracket to much, deletd it where it was too much and i stell get a syntax error at that point (however the game wasnt crashing)
so ffviewer has a different opinion besides repz
(02-28-2015, 16:04)rvyASVP Wrote: ffviewer says i have a close bracket to much, deletd it where it was too much and i stell get a syntax error at that point (however the game wasnt crashing)
so ffviewer has a different opinion besides repz