PDA

View Full Version : NPCServer updates


Admins
03-31-2009, 03:25 PM
Today all servers have been restarted. Beside some bug fixes in gserver this also brings some new stuff for npcservers:

- /scripthelp now supports wild cards (*) and can combine type names and function name / description, that means you can search for stuff like /scripthelp player*hp

- added server-side support for TDrawingPanel: do temp.panel = new TDrawingPanel(), temp.panel.drawimage(0,0,"myimage.png"), temp.panel.saveimage(mynewfilename)

- improved speed

- added more stuff in /stats (shows memory usage) and admin-commands for analyzing the engine speed (so I can help better in certain cases)

Update:
- urlencode(string) - encodes urls for http GET requests (TSocket)

fragman85
03-31-2009, 05:38 PM
- /scripthelp now supports wild cards (*) and can combine type names and function name / description, that means you can search for stuff like /scripthelp player*hp

Awesome :D

Deas_Voice
03-31-2009, 05:52 PM
okey, cool.

Frankie
03-31-2009, 06:28 PM
I used to get horrible fps lag and I've noticed it's gone. did this cause this or was it just a coincidence?

if so, definitely a big difference.

cbk1994
03-31-2009, 07:04 PM
Thank you Stefan :)

Any chance this will fix Era's horrible fits of lag?

Admins
03-31-2009, 09:01 PM
Era has sometimes lag problems because of the memory it uses.

Crono
03-31-2009, 09:02 PM
:) Level Editor updates

Deas_Voice
03-31-2009, 09:24 PM
:) Level Editor updates

wait..... what?

Rufus
03-31-2009, 09:26 PM
Ah damn, I was supposed to remind you to add the global guild messages for the toguild: command before you updated the NPC Servers again :(

cbk1994
03-31-2009, 10:04 PM
Era has sometimes lag problems because of the memory it uses.

Doesn't seem like to me. The server crashes around 7:00 PM constantly, and sometimes around 2-3 PM (EST, both of the times). Doesn't matter how many players are on, or what is happening. It's happened before with less than 20 players on.

The NPC-server just stalls, and /npcshutdown takes about ten minutes, as does /npcstart.

WanDaMan
03-31-2009, 10:04 PM
Great updates although I believe a new editor would be more desirable :D

Ah damn, I was supposed to remind you to add the global guild messages for the toguild: command before you updated the NPC Servers again :(

Doh!

Crono
03-31-2009, 10:53 PM
wait..... what?


I read ":) NPCServer updates" and will one day wanna read ":) Level Editor updates" instead. It's nice that Stefan is putting some attention to Graal but...yeah.

Admins
03-31-2009, 11:30 PM
Doesn't seem like to me. The server crashes around 7:00 PM constantly, and sometimes around 2-3 PM (EST, both of the times). Doesn't matter how many players are on, or what is happening. It's happened before with less than 20 players on.

The NPC-server just stalls, and /npcshutdown takes about ten minutes, as does /npcstart.
There is a daily and a weekly backup running.

Pimmeh
04-01-2009, 12:08 AM
I like this update Stefan, nice to see work going on :)

Flying Technology?

devilsknite1
04-01-2009, 02:33 AM
If he got the level editor to support GS2.... That'd be awesome :D

Anyways, nice Stefan. The updates sure help some laggy servers.

cbk1994
04-01-2009, 03:36 AM
There is a daily and a weekly backup running.

So why don't you reschedule it to like 4 AM when no one is on? 7 PM is a time when we have a ton of players on, so it affects a large number of people.

Twinny
04-01-2009, 04:06 AM
So why don't you reschedule it to like 4 AM when no one is on? 7 PM is a time when we have a ton of players on, so it affects a large number of people.

Probably at a goodtime for themselves so they can quickly react if it goes wrong...

Not a good thing to cron a major update :)

WhiteDragon
04-01-2009, 04:40 AM
Doesn't seem like to me. The server crashes around 7:00 PM constantly, and sometimes around 2-3 PM (EST, both of the times). Doesn't matter how many players are on, or what is happening. It's happened before with less than 20 players on.

The NPC-server just stalls, and /npcshutdown takes about ten minutes, as does /npcstart.

Sounds to me like because of I/O going crazy for some reason or another with the backup, the server load shoots up and prevents any of the processes from working, including most of Era since it uses file-based storage not memory.
Then again this is just speculation.

Deas_Voice
04-01-2009, 05:19 PM
I read ":) NPCServer updates" and will one day wanna read ":) Level Editor updates" instead. It's nice that Stefan is putting some attention to Graal but...yeah.

want to +rep you but i have to spread..
i totally what to read that too one day.

devilsknite1
04-03-2009, 02:40 AM
want to +rep you but i have to spread..
i totally what to read that too one day.

I actually google'd Graal Online Editor and found an open sourced one. Not official, but was there.

cbk1994
04-03-2009, 03:09 AM
I actually google'd Graal Online Editor and found an open sourced one. Not official, but was there.

Gonstruct?

devilsknite1
04-04-2009, 11:29 AM
Gonstruct?

Yeah, that was it