Official Soldat Forums

Server Talk => Scripting Discussions and Help => Topic started by: rumpel on February 28, 2007, 09:02:19 am

Title: how i can use the scripts?
Post by: rumpel on February 28, 2007, 09:02:19 am
yeah how i can use them? ;/

Date Posted: February 27, 2007, 10:36:47 AM
plz help me :/
Title: Re: how i can use the scripts?
Post by: nub on February 28, 2007, 03:01:52 pm
I think you should read the first "sticky" thread in this part of the forum:
http://forums.soldat.pl/index.php?topic=7516.0
Title: Re: how i can use the scripts?
Post by: rumpel on February 28, 2007, 03:56:32 pm
yeah my server crushs now at startup -.-
Title: Re: how i can use the scripts?
Post by: nub on February 28, 2007, 07:45:52 pm
then you should post your networkCore.pas and the error output...
Title: Re: how i can use the scripts?
Post by: rumpel on March 01, 2007, 08:10:04 am
Code: [Select]
function OnRequestGame(IP: string;State: integer):integer;
begin
Result := State;
end;

procedure OnJoinGame(IP, Nickname: string;Team: byte);
begin
end;

procedure OnJoinTeam(IP, Nickname: string;Team: byte);
begin
end;

procedure OnLeaveGame(IP, Nickname: string;Team: byte);
begin
end;

procedure OnFlagGrab(ID: integer;TeamFlag: byte;GrabbedInBase: boolean);
begin
end;

procedure OnFlagReturn(ID: integer;TeamFlag: byte);
begin
end;

procedure OnFlagScore(ID: integer;TeamFlag: byte);
begin
end;

procedure OnPlayerKill(Killer,Victim,Weapon: string);
begin
end;

procedure OnPlayerRespawn(ID: integer);
begin
end;

procedure OnPlayerSpeak(Name,Text: string);
begin
end;

thats the network.pas

cant see a output in the logs ;/
Title: Re: how i can use the scripts?
Post by: EnEsCe on March 01, 2007, 08:12:38 am
Scripting is not for noobs, just turn scripting off.

server.ini -> Scripting=0
Title: Re: how i can use the scripts?
Post by: rumpel on March 01, 2007, 08:26:46 am
its on -.-
Title: Re: how i can use the scripts?
Post by: EnEsCe on March 01, 2007, 08:39:37 am
its on -.-
Scripting is not for noobs, just turn scripting off.

server.ini -> Scripting=0
Need more be said?
Title: Re: how i can use the scripts?
Post by: rumpel on March 01, 2007, 09:02:41 am
yeah omg i think i get help here but here only dumme -.-
Title: Re: how i can use the scripts?
Post by: Clawbug on March 01, 2007, 01:00:34 pm
Scripting is not for noobs, just turn scripting off.

server.ini -> Scripting=0


Hee there? What about if he was about to use scripts released by someone else? Go to fix that bug which causes the crash and be polite with so called noobs.
Title: Re: how i can use the scripts?
Post by: chrisgbk on March 01, 2007, 02:27:12 pm
Read the sticky (http://forums.soldat.pl/index.php?topic=7411.0).

Quote
If you cannot find the answer to your question from these sources, please post your question in this forum as clearly as possible. If we can't understand what you are saying, we can't help you. Including samples of your code to demonstrate what you are doing, or psuedocode of what you want to do, will be very helpful.

If you need help, you need to do the following:

Post any errors you recieve.
Post your entire script.
Describe what you are trying to do, if it isn't blatantly obvious.
Title: Re: how i can use the scripts?
Post by: Clawbug on March 01, 2007, 02:48:40 pm
Not only meaning this case, but also in general. The arrogance is jsut so clear. The way EnEsCe behaves towards the newbies is not very nice, and as he is the developer of server, and a betatester, it would be more than very important to be polite, even towards dumb newbies.

Scripting is not for noobs

This makes it look like the problem actually is caused by rumpel, which is wrong:


Known Issues
Some servers are unable to run scripting without crashing, for as yet undetermined reasons. If this happens to you, you will need to disable scripting to run the server.

Also, as a tip for EnEsCe, next time actually explain why is something so, as it is, instead of just telling someone to do something else. (So so called "noobs" won't be so confused)

A bit off-topic, but it happens.
Title: Re: how i can use the scripts?
Post by: truup on March 04, 2007, 03:32:21 pm
Not only meaning this case, but also in general. The arrogance is jsut so clear. The way EnEsCe behaves towards the newbies is not very nice, and as he is the developer of server, and a betatester, it would be more than very important to be polite, even towards dumb newbies.

Scripting is not for noobs

This makes it look like the problem actually is caused by rumpel, which is wrong:


Known Issues
Some servers are unable to run scripting without crashing, for as yet undetermined reasons. If this happens to you, you will need to disable scripting to run the server.

Also, as a tip for EnEsCe, next time actually explain why is something so, as it is, instead of just telling someone to do something else. (So so called "noobs" won't be so confused)

A bit off-topic, but it happens.
True that.

yeah omg i think i get help here but here only dumme -.-
On server folder, go to the folder 'logs', and there should be lots of logs. Pick the latest consolelog-#.txt, and paste the output here, so we can see what's the problem.

Look, I knew something that EnEsCe did not!
Title: Re: how i can use the scripts?
Post by: rumpel on March 05, 2007, 06:17:49 am
nah! i win! xD it works.. without combine ;P

(http://home.arcor.de/rumpline/pics/server.gif)


hmm.. but i get one error

(http://home.arcor.de/rumpline/pics/-.-.gif)