Script for admin chat

Users who are viewing this thread

Namakan said:
Might wanna check out Gothas Adimi Tools. Should give credit though(or, if you're running Native, you could just use his tools entirely).

I try to port madmin tools.


When I do all the things , bat file shows me these warnings .



Initializing...
Compiling all global variables...
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Exporting map icons...
Creating new tag_uses.txt file...
Creating new quick_strings.txt file...
Exporting faction data...
Exporting item data...
Exporting scene data...
Exporting troops data
Exporting particle data...
Exporting scene props...
Exporting tableau materials data...
Exporting presentations...
Exporting party_template data...
Exporting parties
Exporting quest data...
Exporting info_page data...
Exporting scripts...
WARNING: Script can fail at operation #89. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #172. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #206. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #214. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #234. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #242. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #250. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #258. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #266. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #274. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #282. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #290. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #298. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #300. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #301. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #309. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #316. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #329. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #337. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #350. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #363. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #371. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #379. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #387. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #395. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #403. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #411. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #419. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #425. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #431. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #446. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #492. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #544. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #739. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #755. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #766. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #774. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #782. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #796. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #810. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #823. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #836. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #849. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #862. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #870. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #878. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #918. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #926. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #939. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #1124. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #1125. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #1137. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #1138. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #1151. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script can fail at operation #1152. Use cf_ at the beginning of its name: game_receive_network_message
WARNING: Script uses more than 128 local variables: game_receive_network_messagevariables count:138
WARNING: Local variable never used: uid, at: cf_admin_validity_check
Exporting mission_template data...
Exporting game menus data...
exporting simple triggers...
exporting triggers...
exporting dialogs...
Checking global variable usages...
Exporting postfx_params...

______________________________

Script processing has ended.
Press any key to exit. . .


If I forget about this warning and run the game , I cant chose any team (on host game and dedicated server).


In server logs/game logs I can see errors like this:


Input: Warning: Unmatched else_try.; LINE NO: 2:
Warning: Unmatched else_try.; LINE NO: 2:
Warning: Unmatched else_try.; LINE NO: 2:
Warning: Unmatched else_try.; LINE NO: 2:
At script: game_receive_network_message.




If I change  game_receive_network_message to cf_game_receive_network_message everything is fine but any script won't work in game (only presentations exist)




any tips?

 
PitchPL said:
Input: Warning: Unmatched else_try.; LINE NO: 2:
Warning: Unmatched else_try.; LINE NO: 2:
Warning: Unmatched else_try.; LINE NO: 2:
Warning: Unmatched else_try.; LINE NO: 2:
At script: game_receive_network_message.

don't turn the script into a "cf_", instead fix your bug (showed above). For more info you can check/ask in the Q&A thread.

Cheers
 
Back
Top Bottom