Author |
Topic: CODE DUMP WOO |
sweatingbullets~rb |
General Member Since: Dec 23, 2006 Posts: 79 Last: Dec 23, 2006 [view latest posts] |
|
|
|
earocool~rb |
General Member Since: Dec 23, 2006 Posts: 82 Last: Dec 23, 2006 [view latest posts] |
|
|
|
XYZ~rb |
General Member Since: Dec 23, 2006 Posts: 54 Last: Dec 23, 2006 [view latest posts] |
|
|
|
Robbo~rb |
General Member Since: Dec 23, 2006 Posts: 8 Last: Dec 23, 2006 [view latest posts] |
|
|
Category: SoFII Mapping Posted: Friday, Aug. 25, 2006 07:42 pm |
|
Quote (XYZ @ Aug. 20 2006, 7:45 am) | |
Hi guys, aint wrote here for a while now, i was just like to ask... is the RPM 0.7 Source our for pub yet? ive got 0.6, but the 0.7 im not sure of, well if it aint, how come 2k3Servers have got it for there mod? So they say. Well they might of brought it i dunno, but is it pub or know anywere i can get it. lol? X i hear your taking Pro back, congrats and happy moddin |
|
|
|
earocool~rb |
General Member Since: Dec 23, 2006 Posts: 82 Last: Dec 23, 2006 [view latest posts] |
|
|
|
Robbo~rb |
General Member Since: Dec 23, 2006 Posts: 8 Last: Dec 23, 2006 [view latest posts] |
|
|
Category: SoFII Mapping Posted: Wednesday, Aug. 30, 2006 11:38 am |
|
Quote (earocool @ Aug. 26 2006, 5:35 am) | |
Lol? Wtf.... ive been hanging about lately on sof2, shop inf.. and someone told me... about 2 weeks ago someone came in the server, and went invisible, :S could that be true? aparently.. it only works when there is 1 red person left on the redteam. everyone seen it (so called) and the guy who was doing it said... "It only works with 1 person left on the red team" i dunno if it is a glitch or anythink but im sure it is not because he was running around and got the case and captured it lol... and he was invisible no one could see him :S Could this be true?? :| |
|
|
|
sweatingbullets~rb |
General Member Since: Dec 23, 2006 Posts: 79 Last: Dec 23, 2006 [view latest posts] |
|
|
|
earocool~rb |
General Member Since: Dec 23, 2006 Posts: 82 Last: Dec 23, 2006 [view latest posts] |
|
|
Category: SoFII Mapping Posted: Saturday, Sep. 16, 2006 04:56 pm |
|
Hello all, I have got a problem now with my mod, when a cleint with the 0.7 version of my mod connects to a 1.00 server its displays a error and says: Server/Client Mismatch. Can anyone say here what the problem can be..??? EDIT: Problem Fixed |
|
|
|
earocool~rb |
General Member Since: Dec 23, 2006 Posts: 82 Last: Dec 23, 2006 [view latest posts] |
|
|
Category: SoFII Mapping Posted: Sunday, Sep. 17, 2006 08:07 pm |
|
Hi all, i have tried to add the server messesage but the messeges dont show somehow heres my code ( i have took this out of roc-mod) Code Sample | /* ================== ServerMessage ================== */ void ServerMessage( void ) { char *message; char text[MAX_SAY_TEXT]; char text2[MAX_SAY_TEXT]; char sound[256];
if ( g_messageEnabled.integer && level.time > level.lastMessageTime && !level.match ) { if ( level.lastMessageTime == 0 ) { level.lastMessageTime = level.time + g_messageStart.integer * 1000; level.lastMessageNum = 1; }
switch (level.lastMessageNum) { case 1: message = g_message1.string; break; case 2: message = g_message2.string; break; case 3: message = g_message3.string; break; case 4: message = g_message4.string; break; case 5: message = g_message5.string; break; default: message = ""; break; }
if ( message[0] == '\0' || level.lastMessageNum == 5 ) { level.lastMessageTime = level.time + g_messageStart.integer * 1000; level.lastMessageNum = 1; } else { level.lastMessageTime = level.time + g_messageInterval.integer * 1000; level.lastMessageNum++;
sound[0] = 0; G_ParseVoiceCommands( NULL, message, text2, sizeof(text2)-1, sound ); G_ParseMessageTokens( text2, text, sizeof(text)-1 );
trap_SendServerCommand( -1, va("chat -1 \"message: %s\n\"", text ) ); if ( g_voiceCommandsEnabled.integer && sound[0] ) { gentity_t *other; int j; // send it to all the apropriate clients for (j = 0; j < level.numConnectedClients; j++) { other = &g_entities[level.sortedClients[j]]; if (!other || !other->inuse || !other->client || other->client->pers.connected != CON_CONNECTED ) { return; } if ( g_voiceCommandsEnabled.integer == 1 && sv_modClient.integer || other->client->sess.modData->versionVerified ) { trap_SendServerCommand( other-g_entities, va("sound %i \"%s\"", other->client->sess.team, sound)); } else { G_LocalSound( other->s.number, sound ); } } // G_BroadcastSound( sound ); } } } }
|
|
|
|
|
XYZ~rb |
General Member Since: Dec 23, 2006 Posts: 54 Last: Dec 23, 2006 [view latest posts] |
|
|
|