ItsMods

Full Version: Server addon requests
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
So since @Nukem is a lazy fuck ( Troll Heart ) I think it's a good idea to make one central topic with all requests in it.

List of requests (Put more in replies to this topic)
--Log events (All must include XUID, CID, team, name and time)
-Kill
-Say
-Join team
-Join server
-Disconnect
--Script events
-onGameEnd(time)
-onGameStart(time)
-onPlayerSpawn(time, player)
-onPlayerConnect(time, player)
-onPlayerDisconnect(time, player)
-onPlayerKilled(killed player, attacker, weapon, time)
-OnServerConsoleCmdEntered(message)
-onServerShutdown()
-HookDvar(string dvar, void function) //call a function when the dvar is changed
-OnJoinedTeam(ServerClient player, string team) //allies, axis, spectators
--Script functions
- RankUpPlayer(rank, prestige)
- GiveWeapon(client,weapon)
--General/other
-Ability to turn auto update off.
-Ability to (un)load a plugin while the server is running.
--Bug fixes
-Fix iPrintLn(bold) on the API page. (message,client) not (client,message)
-Make SetClientDvar use ServerClient instead of client num

Red = new
nice idea...





Narwhal
Good luck with iPrintln Smile
iprintln = fail
Nice list, but some requests are also pretty useless
For instance

CSHARP Code
  1. void Kick(string player)
  2. {
  3. ServerCommand("kick \""+player+"\"");
  4. }

why time? the time is now so you can just get what time it is now
(01-03-2012, 16:37)jariz Wrote: [ -> ]iprintln = fail
Nice list, but some requests are also pretty useless
For instance

CSHARP Code
  1. void Kick(string player)
  2. {
  3. ServerCommand("kick \""+player+"\"");
  4. }

why time? the time is now so you can just get what time it is now

Well, time is a nice addition to the event log. and didn't think of kick
Well, we really need a onServerExit becuase my plugin keeps running while the server has stopped ....
No way to fix it
You don't want the current system time. You want the current game server tick number so yeah, I think it's useful to add that number.
(01-03-2012, 16:24)SuperNovaAO Wrote: [ -> ]Good luck with iPrintln Smile

That is simply a one letter change from SetClientDvar Big Grin
Same goes for iPrintLnBold
wait so, it's possible?
ADD IT. NOW.
(01-03-2012, 11:27)Pozzuh Wrote: [ -> ]-Fix iPrintLn(bold) on the API page. (message,client) not (client,message)
-Make SetClientDvar use ServerClient instead of client num

Red = new

Hm don't understand why you would need this setClientDvar "fix"

Anyway I would like to have a ClientCommand() (similiar to ServerCommand()) ist that possible @Nukem ?
Maybe GetClientDvar()
Pages: 1 2 3