Author Topic: Server Errors Relating to Scripts  (Read 873 times)

0 Members and 1 Guest are viewing this topic.

Offline c0n

  • Major(1)
  • Posts: 1
Server Errors Relating to Scripts
« on: January 20, 2009, 09:21:59 am »
I'm fairly new to whole "Soldat Server" thing, but I host a server for my schools local LAN, and recently I decided to add a script to the mix, ZRPG (Zombie RPG) to be specific. But everytime I load the CMD up I get this error message:

09-01-22 09:16:45    Console Log Started
09-01-22 09:16:49 Welcome to Soldat 1.4.2
09-01-22 09:16:49 
  • ScriptCore v2.2 loaded! Found 2 scripts...

09-01-22 09:16:49 
  • Compiling default -> Core.pas...

09-01-22 09:16:49 
  • Compiling default -> NetworkCore.pas...

09-01-22 09:16:49 
  • Compiling default -> AdminCore.pas...

09-01-22 09:16:50 
  • Compiling ZRPG -> ZRPG.pas...

09-01-22 09:16:50 
  • ZRPG -> [Error] (752:11): Duplicate identifier 'MISSILE'

09-01-22 09:16:50 Shutting down server...
09-01-22 09:16:50 Shutting down admin server...
09-01-22 09:16:50 Shutting down ScriptCore...

I have no idea of what to do, I've searched around these forums and have found no solution to what is the problem, or what I'm doing wrong. Some assitance would be nice, thanks.

Offline JFK

  • Camper
  • ***
  • Posts: 255
    • My TraxInSpace Account
Re: Server Errors Relating to Scripts
« Reply #1 on: January 20, 2009, 09:36:07 am »
Lol, that would mean this script still wouldn't work?

You might want to post this here. But i got curious and looked in the code. It seems that hacktank uses 'Missile' as procedure and 'missile' as record type. That won't work. You might fix this by editing zrgp.pas yourself though (always back up btw):

change line 421 into:
Code: [Select]
Type tmissile = Record

and line 446 into:
Code: [Select]
amissile: array[1 .. 5] of tmissile;

and then hope he doesn't refer to the 'missile' type anywhere else.
Come join: EliteCTF
Listen to: My Music

Offline Hacktank

  • Camper
  • ***
  • Posts: 462
  • Soldat Scripter
    • HTZRPG
Re: Server Errors Relating to Scripts
« Reply #2 on: January 20, 2009, 05:08:50 pm »
I found that bug rite after I updated it, you must have downloaded it in the 10 minutes between the update and the quickfix. Just redownload it and it will work.