Jump to content
Sign in to follow this  
whisper

[Dedicated] ServerSide settings, no grass and such

Recommended Posts

Gotta try on my server, back at you asap, prolly an error in the .sqf

Share this post


Link to post
Share on other sites

Right, found the guilty : remove the comments in globalServer.sqf ...

Comments are not accepted in functions.

Share this post


Link to post
Share on other sites
Right, found the guilty : remove the comments in globalServer.sqf ...

Comments are not accepted in functions.

Aha! Will give it a go!

---------- Post added at 11:53 PM ---------- Previous post was at 11:20 PM ----------

Right, found the guilty : remove the comments in globalServer.sqf ...

Comments are not accepted in functions.

Sorry fella, no joy. Grass is still being rendered on the clients.

All I have in my globalServer.sqf file, now is...

setTerrainGrid 50;

Share this post


Link to post
Share on other sites

should be

"
setTerrainGrid 50;
" call CreateLogicCode;

Sry for not being precise enough in how it works and what to do, it was released a bit in a rush without second thought

Share this post


Link to post
Share on other sites

:)thx but sure this is with no gras and such settigs....

Edited by TeilX

Share this post


Link to post
Share on other sites
:)thx but sure this is with no gras and such settigs....

add this

"
setTerrainGrid 50;
" call CreateLogicCode;

i have trouble getting messages to show, nevermind repeat.

heres an example of what we have...

"
sleep 3;
titleText [format [""Welcome %1"", name player], ""PLAIN""];
sleep 10;
while {true} do {
   hintSilent ""TS IP : xx.xxx.xxx.xxx:8767 , Password : no password"";
   sleep 10;
   hintSilent ""repeat message script thanks to whisper"";
   sleep 10;
   hintSilent ""DirTyDeeDs likes whores"";
   sleep 300;
};
" call CreateLogicCode;

Edited by [DirTyDeeDs]-Ziggy-

Share this post


Link to post
Share on other sites

LOL...I see you were on the same thing Dirty. I PM'd Whisper & he updated dl site on this link.

Edited by djerden

Share this post


Link to post
Share on other sites
-Ziggy-;1517729']add this

i have trouble getting messages to show' date=' nevermind repeat.

heres an example of what we have...

"
sleep 3;
titleText [format [""Welcome %1"", name player], ""PLAIN""];
sleep 10;
while {true} do {
   hintSilent ""TS IP : xx.xxx.xxx.xxx:8767 , Password : no password"";
   sleep 10;
   hintSilent ""repeat message script thanks to whisper"";
   sleep 10;
   hintSilent ""DirTyDeeDs likes whores"";
   sleep 300;
};
" call CreateLogicCode;

[/quote']

Nothing in the server's RPT file?

Share this post


Link to post
Share on other sites

sorry for the delay, I dont have access to the server RPT. I requested they post it here, I expect it will show up soon. :rolleyes:

OT, what mods do you need to get into your server, its like Fort Knox. I tried every combination including ACE, could never join.

Edited by [DirTyDeeDs]-Ziggy-

Share this post


Link to post
Share on other sites

You're launching the server with the correct mod? -mod=serverSide

Share this post


Link to post
Share on other sites

2009/12/21, 14:57:15 Error in expression <server globalChat format['Player is joining >

2009/12/21, 14:57:15 Error position: <globalChat format['Player is joining >

2009/12/21, 14:57:15 Error Fehlendes ;

2009/12/21, 14:57:15 Error in expression <server globalChat format['Player is joining >

2009/12/21, 14:57:15 Error position: <globalChat format['Player is joining >

here it is... the rpt file has an delay..

Edited by Kochleffel

Share this post


Link to post
Share on other sites

what is "server" ?

AFAIK there is no "server" entity which could do a globalchat.

I'd suggest to use hintSilent.

If you want to use chat, you'll need first to create a unit somewhere able to globalChat

Share this post


Link to post
Share on other sites

i dont know what this is thats reply´s after my connect in the Rpt file.

okay ahm it return´s Welcome Kochleffel, is it possible to write this in the Chat?

Edited by Kochleffel

Share this post


Link to post
Share on other sites

I assume the problem is that you can't use sleep in the main server thread, use spawn to create a seperate thread.

"
[] spawn {
sleep 3;
titleText [format [""Welcome %1"", name player], ""PLAIN""];
sleep 10;
while {true} do {
	hintSilent ""TS IP : xx.xxx.xxx.xxx:8767 , Password : no password"";
	sleep 10;
	hintSilent ""repeat message script thanks to whisper"";
	sleep 10;
	hintSilent ""DirTyDeeDs likes whores"";
	sleep 300;
};
};

" call CreateLogicCode;

Share this post


Link to post
Share on other sites

Nah, the addon already use spawn to run this code.

It's just that he wants to use chat commands, without any entity able to do the chat command

Kochleffel : use hintSilent, and not globalChat. Using globalChat would require much more work.

Share this post


Link to post
Share on other sites

I am still waiting for the Op4 guys to place the RPT info here.

whisper I see you are responding to a quoted code that I posted here.

do not confuse Kochleffels request with my own. I do not care what code it uses, I just want the text to repeat on the server.

running -mod=serverSide, globalserver.sqf is in Arma2 root folder and its not working. do we have to disable the server.cfg motd for this to work?

just fyi, the 'DirTyDeeDs likes whores' is just code example and forum humor, no intention to place that msg on the server ;)

Share this post


Link to post
Share on other sites

"
sleep 3;
titleText [format [""Welcome %1 "", name player], ""PLAIN""];
sleep 20;
while {true} do {
hintSilent ""Checkout DAO.nu"";
sleep 10;
hintSilent ""WE run Teamspeak 3 "";
hintSilent ""Checkout DAO.nu"";
sleep 10;
 hintSilent ""Checkout DAO.nu"";
sleep 10;
};
" call CreateLogicCode;

this i used for test.

it reply´s only Welcome Kochleffel...

i think there is a conflict with the Berzerk script

in bis mission´s it seem´s that it work.

Share this post


Link to post
Share on other sites

@Ziggy : I don't confuse, your code looks clean to me, that's why I asked for RPT to look up possible error messages.

@Kochleffel : strange, I don't see how Berzerk could interfere, apart from doing other regular hintSilent that would get over the one done by the addon, but it should not be that synchronized.

How long do you wait when checking if the hintSilent is working? You won't see it in the intro screen of Berzerk

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×