|
You last visited: Today at 20:13
Advertisement
Problem to Get Mobs - Spawns To INI...
Discussion on Problem to Get Mobs - Spawns To INI... within the CO2 Private Server forum part of the Conquer Online 2 category.
11/16/2008, 16:12
|
#16
|
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
|
Quote:
Originally Posted by µ~Xero~µ
MySQL runs smoother??
Wrong , it querys to much at mobs and lags unless u got better hardware.
U wont be able to have tings like ko board and top players?
Wrong PHP can read ini files get the line and show the things.
This wasnt a attack but i think they arent tht bad
SQL Runs at localhost n uses internet bandwdh which isnt good 4 my modem xD
But thx 4 tring to help me ^^
---------------------------------------------------------------------
Please someone Help 
|
Your server shouldn't need to query mobs. Mobs are volatile data - they don't need saving, you can hold them entirely in memory and just reload them when you restart the server etc. Mob spawns should be kept in a database, but they are only called routinely on a timer, and that shouldn't produce any kind of lag, particularly if you're threading properly.
Lol. Services running on localhost do not use bandwidth.
About reading ini files with PHP etc. Why? This is the exact reason why ini files are no good. You've already implemented a method to read the ini in C#, but now, you wanna re-implement the same thing in php? What's wrong with having a database with stored procedures? That way you're only implementing once.
Ok, so you might be able to query a few ini files at a decent rate, you don't have much data. I'll tell you before you make the mistake and fail, using plain text files is unscaleable. Once you have alot of data, you will get slowdowns. Databases are much more scaleable - you'll still have quick qeurying when you're into gigabytes of data.
|
|
|
11/16/2008, 16:51
|
#17
|
elite*gold: 20
Join Date: Jun 2005
Posts: 1,489
Received Thanks: 301
|
Quote:
Originally Posted by µ~Xero~µ
MySQL runs smoother??
Wrong , it querys to much at mobs and lags unless u got better hardware.
U wont be able to have tings like ko board and top players?
Wrong PHP can read ini files get the line and show the things.
This wasnt a attack but i think they arent tht bad
SQL Runs at localhost n uses internet bandwdh which isnt good 4 my modem xD
But thx 4 tring to help me ^^
---------------------------------------------------------------------
Please someone Help 
|
Actually you can run remote sql very easy with small modification of the database class it doesn't have to be localhost.
|
|
|
11/16/2008, 17:32
|
#18
|
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
|
Quote:
Originally Posted by Tw3ak
Actually you can run remote sql very easy with small modification of the database class it doesn't have to be localhost.
|
like changing the IP string to your hosts IP?
I think some leachers could do that!
|
|
|
11/16/2008, 17:44
|
#19
|
elite*gold: 0
Join Date: Oct 2008
Posts: 342
Received Thanks: 66
|
Quote:
Originally Posted by unknownone
Your server shouldn't need to query mobs. Mobs are volatile data - they don't need saving, you can hold them entirely in memory and just reload them when you restart the server etc. Mob spawns should be kept in a database, but they are only called routinely on a timer, and that shouldn't produce any kind of lag, particularly if you're threading properly.
Lol. Services running on localhost do not use bandwidth.
About reading ini files with PHP etc. Why? This is the exact reason why ini files are no good. You've already implemented a method to read the ini in C#, but now, you wanna re-implement the same thing in php? What's wrong with having a database with stored procedures? That way you're only implementing once.
Ok, so you might be able to query a few ini files at a decent rate, you don't have much data. I'll tell you before you make the mistake and fail, using plain text files is unscaleable. Once you have alot of data, you will get slowdowns. Databases are much more scaleable - you'll still have quick qeurying when you're into gigabytes of data.
|
i got a PC with integrated HSDPA modem it uses bandwidth :S i cant do anything against it all localhost transfer goees over the modem :P
|
|
|
11/16/2008, 18:10
|
#20
|
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
|
Ok, so your network monitor might report data being sent etc, but anything to the loopback address never gets onto a cable, the transfer is done entirely in your own machine, and is in the magnitude of megabits per second. Unless your network card is from the early eighties, then you shouldn't have any harware limitation.
If there's something causing lag, it could be a firewall, QoS application or something running locally.
|
|
|
11/16/2008, 18:23
|
#21
|
elite*gold: 0
Join Date: Oct 2008
Posts: 342
Received Thanks: 66
|
Quote:
Originally Posted by unknownone
Ok, so your network monitor might report data being sent etc, but anything to the loopback address never gets onto a cable, the transfer is done entirely in your own machine, and is in the magnitude of megabits per second. Unless your network card is from the early eighties, then you shouldn't have any harware limitation.
If there's something causing lag, it could be a firewall, QoS application or something running locally.
|
My INtegrated modems lights are flashing .
Its causing the LONG way transfer coz its a usb modem and coneccted to my ethernet one wich split it half way so all transfer goes over My integrated one over my external one n lags it up i can monitore all from my HSDPA modem n from my ethernet with means its rly sending data . i was in some ( austrian ) forums n they know the problem somee slow computers got massive internet probs xD thx 4 reading haha u can thrust me xD
Thx 4 your infos about not using inis but ill do  some one could post a working code??
|
|
|
 |
|
Similar Threads
|
Problem mit Spawns.
09/08/2010 - Metin2 Private Server - 5 Replies
Hallo, ich habe ein problem, mit Spawns auf die Map einzufügen,
Group.txt ist so eingetragen
und regen.txt
|
Problem mit Mobs
08/05/2010 - Flyff Private Server - 2 Replies
Ich hab bei meinem V15 PServer ein Problem. Ich hab Files und DB von Sedrika genommen und alles genauso gemacht wie im Tut. Klappt auch alles, nur wenn ich Mobs töte, fliegen die erst mehrere Meter hoch, da bleiben die Drops liegen und dann fliegt das Mob wieder auf den Boden.
EDIT: hab noch ein Problem: Wenn man etwas schreibt, egal ob in den Chat oder in den Shout, dann ist zwar über einem die Sprechblase, aber unten im Chat steht nix :(
|
Wie die spawns von mobs einstellen???
07/04/2010 - Metin2 Private Server - 1 Replies
Hi,
wollte mal fragen wie man die spawns von mobs einstellt bzw. sie auf eine spezialmap bekommt? Bitte helft mir!
Falls es schon so einen thread gibt sagt pls link, thx
Fabi:)
|
hab ein problem mit mobs
02/24/2010 - Metin2 Private Server - 4 Replies
hi erstmal ich habe in diesem Forum eine mob_proto gedownloaded von Momoplaya und habe sie eingefügt jetzt habe ich das problem das die NPC´s sich auf einmal bewegen können und wenn ich monsterspawn kommt der Wächter des Dorfplatzes und haut die einfach weg xD wie z.b. den roten drachen gibt er 1 hit ohne ihm schaden anzurichten aber egal will nur wissen wie mach ich jetzt das die NPC´s sich nicht mehr bewegen können bzw. wieder das machen was sie auch sollen also da stehen wo sie sollen
|
other plvl spawns than main spawns
01/15/2009 - Conquer Online 2 - 3 Replies
hi there,
im on epvp since 3 years now but this is my first thread so dont kill me for sharing only :)
well what i wanted to know is, since gms work alot by hunting down botters, if someone can give me spawns (in coords) or maybe in the map(s) of serps, alienserps and basi which are not the mains. so noone else would find me afk on bot for plvl :o
thnx for your replies :)
|
All times are GMT +1. The time now is 20:14.
|
|