Author Topic: Seamless servers  (Read 8529 times)

0 Members and 1 Guest are viewing this topic.

Offline urraka

  • Soldat Developer
  • Flagrunner
  • ******
  • Posts: 703
Re: Seamless servers
« Reply #20 on: August 15, 2007, 11:17:46 am »
Also, in Soldat.ini...
[NETWORK]
JoinPort=23073

so THIS is the port the player joins on? is this client-side?

I think that's the port of the last server you've joined.

I'm kinda sure the port we need is the one showed in the console along with the IP when somebody tries to join a game.
urraka

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Seamless servers
« Reply #21 on: August 15, 2007, 10:46:15 pm »
(Still on vacation)

MM you weren't meant to announce it yet... I haven't even documented it in the manual... I didnt want the function announced yet because I was still modifying it.... Ill sort it when I get home.

Date Posted: 16 August 2007, 01:42:04 pm
And SrcPort has to be there for if you use the function in OnRequestGame, since the port the player sends data to you on is usually random unless they have 23073 opened on their router, and its not saved anywhere in the server during the  request game procedure.... So dont bother using this yet untill I have actually added it to the manual, because its going to be changed.

Offline mikembm

  • Soldier
  • **
  • Posts: 210
Re: Seamless servers
« Reply #22 on: August 15, 2007, 11:38:02 pm »
Can I request that the confirmation box appear while they are still connected to the current server instead of making then leave the server and then asking?

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Seamless servers
« Reply #23 on: August 16, 2007, 03:30:14 am »
+ password plox ;D
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline ghg

  • Camper
  • ***
  • Posts: 411
  • Village Idiot
Re: Seamless servers
« Reply #24 on: August 16, 2007, 05:47:50 am »
Is it possible to have the confirm box appear BEFORE it removes them from the current server?
I think either MM or EnEsCe mentioned it asking first.
-=Gradius wuz you=-

Offline extreemer

  • Soldier
  • **
  • Posts: 100
Re: Seamless servers
« Reply #25 on: August 16, 2007, 08:03:00 am »
cool idea and will help out a bid

Offline Kavukamari

  • Camper
  • ***
  • Posts: 435
  • 3.14159265358979, mmm... pi
Re: Seamless servers
« Reply #26 on: October 01, 2007, 07:06:27 pm »
This could be cool for maps with buildings - have a separate sever running a map with the inside of that building.
Just an idea :D

yeah, can be done with scripting (in a way):
Code: [Select]
*blah blah blah*
procedure OnPlayerSpeak(ID:byte;Text:string);
var
  X, Y, DoorX, DoorY: single;
begin
  X:=round(GetPlayerStat(ID,'X'));
  Y:=round(GetPlayerStat(ID,'Y'));
  DoorX:=round(123.456);
  DoorY:=round(654.321);
  if (X > DoorX-50) and (X < DoorX+50)
  and (Y > DoorY-100) and (Y < DoorY+100)
  and (Text = '!enter') then begin
    ForwardClient('123.456.78.90',23074,'123.456.78.90',23075);
  end;
end;
*blah blah blah*

maybe there should be a:
function GetServerStat(IP: string; Port: integer; Stat: string);

so you can check:
Quote from: possible new function
Stats:
Name - string ----- Server name
Map - string ----- Current map playing
connection - integer ----- 0 for LAN, 1 for internet
Players - integer ----- Current players
Maxp - integer ----- max players
Gpass - string ----- Game password, not admin pass
APass - string ----- Returns asterics (*) for each letter in pass, doesn't return actual pass (maybe return pass if safe mode off?)
Passworded - boolean ----- password needed?
ClanMatch - boolean ----- clan match enabled?
Greet1, Greet2, Greet3 - string ----- Greeting messages
Balance - boolean ----- balance teams?
maxvote - single ----- vote percent
minping - integer ----- minimum ping limit
maxping - integer ----- maximum ping limit
Dedicated - boolean ----- Dedicated server?
Lobby - string ----- lobby registered in (ip or http string)
Respawn - single ----- respawn time
bonuses - string ----- bonuses allowed (string in 5 parts (F P B V C) inactive(0) or active(1))
freq - integer ----- bonus frequency (1 to 5)
bots - integer ----- number of bots
FFire - boolean ----- friendly fire?
loop - boolean ----- loop maps?
style - integer ----- game mode (same as const's in default script "core")
weapons - string ----- active weaps (same format as bonuses but 14 parts (DD HK AK SA SZ RG 79 BT MM MG US CK CS 72) 0 or 1)
nades - integer ----- max nades
limit - integer ----- score limit
statgun - boolean ----- stat guns?
RSA - string ----- (same as weaps and bonuses, 3 parts (R S A) 0 or 1)
Aamt - integer ----- Advance mode amount

and anything else you can find server-side in soldat.ini and server.ini
"Be mindful of fame, show a mighty courage, watch against foes. Nor shalt thou lack what thou desirest, if with thy life thou hast comest out from that heroic task."

Offline miketh2005

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 668
  • What's the URL for www.microsoft.com?
Re: Seamless servers
« Reply #27 on: October 24, 2007, 10:31:14 am »
OMFG! This is cool! Once I get the money I can buy the servers and get someone (Rampage) to make a super uber cool script and I'll have a RPG server!
« Last Edit: October 27, 2008, 02:48:50 am by miketh2005 »
Quote from: 'Ando.' pid='12999178' dateline='1309046898'
My new password is secure as shit :)
Mate, I am not sure Shit is even secured nowadays.