Register for your free account! | Forgot your password?

You last visited: Today at 06:34

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement


CSREmu

Discussion on CSREmu within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Closed Thread
 
Old 05/16/2010, 12:50   #2161
 
elite*gold: 0
Join Date: Feb 2009
Posts: 9
Received Thanks: 0
Did that but i copy everything and then when i load loadsremu.exe it pop ups obout the nucretor i press ok than it shows gameguard and then crashes
kasparas1997 is offline  
Old 05/16/2010, 14:44   #2162
 
elite*gold: 0
Join Date: Feb 2008
Posts: 37
Received Thanks: 9
Quote:
Originally Posted by kasparas1997 View Post
Did that but i copy everything and then when i load loadsremu.exe it pop ups obout the nucretor i press ok than it shows gameguard and then crashes
are u running gameserver and loginserver?
bazmeganyad is offline  
Old 05/16/2010, 19:30   #2163
 
elite*gold: 0
Join Date: Feb 2009
Posts: 9
Received Thanks: 0
Quote:
Originally Posted by bazmeganyad View Post
are u running gameserver and loginserver?
Yes(but i will wait till new version will come till that day i will play my Iris server
kasparas1997 is offline  
Old 05/17/2010, 06:48   #2164
 
elite*gold: 0
Join Date: Sep 2007
Posts: 28
Received Thanks: 2
I have a new problem, when I do alt + shift then shift + ^, the GM console doesnt pop up, my guy stops moving, and then i cant load the server back up unless i delete him and my account, any ideas, oh it also creates a duplicate of my carater making him impossible to log onto again. and when i set his lvl in navicat it doesnt work or show in game

I figured out and fix all other issues, besides this one, everything else works perfectly, no more remote server showing up, can log onto main server now, create characters but thats about it.
Manyac is offline  
Old 05/17/2010, 08:21   #2165
 
elite*gold: 0
Join Date: Oct 2008
Posts: 181
Received Thanks: 35
i create acc. log in create char then log out close gameserver and login server then trying open gameserver and i get dont send. how do i fix?
xryckaxx is offline  
Old 05/17/2010, 17:48   #2166
 
elite*gold: 0
Join Date: Dec 2008
Posts: 1,611
Received Thanks: 345
at wich time will come new CSREMU Patch??
papapajo is offline  
Old 05/17/2010, 18:20   #2167
 
elite*gold: 0
Join Date: Apr 2006
Posts: 164
Received Thanks: 210
LOL...

Really, 30+ queries just to get the data returned in 1 query?

Fail. Just... Fail.
jM3 is offline  
Old 05/17/2010, 18:38   #2168
 
elite*gold: 20
Join Date: Apr 2008
Posts: 1,340
Received Thanks: 686
jMerliN why are you dealing at all with the other projects? I respect you and your work and I believe that you are the only one that can create a Server-like emu, but I don't see what's the point of arguing with child about other stuff. If I were you I would've assemble a team and really work on an emu that can be as good as the original files. I don't think that working alone is perfect for you.
Davincibg is offline  
Old 05/17/2010, 18:45   #2169
 
elite*gold: 0
Join Date: Mar 2009
Posts: 443
Received Thanks: 597
Quote:
Originally Posted by jM3 View Post
LOL...

Really, 30+ queries just to get the data returned in 1 query?

Fail. Just... Fail.
those are the old version. dont you look at your vb emu , too and then you think its bad?so i dont see the point in insulting me

edit: 30+ queries?
Quote:
DataSet tmpDataSet = Database.GetDataSet("SELECT * FROM user");
i only see 1 query
Shadowz75 is offline  
Thanks
2 Users
Old 05/17/2010, 20:08   #2170
 
elite*gold: 0
Join Date: Apr 2006
Posts: 164
Received Thanks: 210
Quote:
Originally Posted by Davincibg View Post
jMerliN why are you dealing at all with the other projects? I respect you and your work and I believe that you are the only one that can create a Server-like emu, but I don't see what's the point of arguing with child about other stuff. If I were you I would've assemble a team and really work on an emu that can be as good as the original files. I don't think that working alone is perfect for you.
All I need is packets. Get someone to give them to me and I'll be done.

Quote:
Originally Posted by Shadowz75 View Post
those are the old version. dont you look at your vb emu , too and then you think its bad?so i dont see the point in insulting me

edit: 30+ queries?

i only see 1 query
Lol, that's not the code I saw on page 1. And you're using a DataSet object? That's a behemoth of a class and is quite slow on instantiation and requires you to index like 4 arrays to get what you need, each one kills performance.

Further, you're making much more rudimentary mistakes. While caching accounts is a GOOD thing in general, you have implemented it in an abhorrent manner. The array resizes and constant indexing is a bad thing, you're keeping track of many parallel and related arrays rather than creating a class or structure of some kind and keeping a simple array of them, using OOP. This would allow you to grab just the object needed and resize just 1 array, all around a large performance boost. Also, what you're doing really prevents you from multi-threading...

In what you're currently doing, I guarantee you a SQL db running locally would do inserts/selects on a DB of under 100,000 rows faster than the rest of your code executes, so while you still insert on char creation (rather than queueing those up for batch processing), you're destroying any performance caching could possibly provide. And the idea of caching isn't "mirror the database in the local application." It's "mirror the most active entries of the database in local memory." The database has that entire table loaded into memory already, in all likelihood, so you're being redundant, and a local connection would have 0 latency probably implemented with a pipe rather than a socket, so it's not much of an overhead. You should probably load the most recently used ~700 accounts into memory, then you have the concept of a cache hit and miss, if it's a miss, you have to go to the DB to get the info, then you might add it into your cache and every 20 minutes trim off the older entries, depending on how you manage memory (you might not worry about it, which is 1 approach but that lends itself to a need for maintenance, you might look at how much memory you have free and try to clear it up from places where you have cached objects, but this can also cause fragmentation of your heap(s), so it's a lot more complex a subject than just black/white).

You won't notice these issues with fewer than 100 players joining your server but when you try hosting 5000, you'll notice them, or if someone tries to attack your server, which would be easy because I could cause just 1 bit of bad code like that to become very busy starving the system of CPU (and/or memory) which could crash the server or time out users. Think big when you design something, look @ the guys working on betamax, they tried spawning and tracking millions of mobs, I suggested using a quadtree for locale and it made millions of mobs which took a lot of power to process and a long time to compute locality take almost nothing to process. Stress testing is the key to stability and efficiency; if you code like only 20 people will ever use your emulator, then in all likelihood, only 20 people will be able to use your server with any semblance of stability or speed.
jM3 is offline  
Old 05/17/2010, 20:27   #2171
 
elite*gold: 0
Join Date: Jul 2009
Posts: 238
Received Thanks: 26
shadow i can see something right there

just keep it up man i like it

we need more hard job to make it the first perfect emu
EgyCheETah is offline  
Old 05/18/2010, 01:02   #2172
Chat Killer In Duty

 
elite*gold: 5
Join Date: May 2008
Posts: 16,074
Received Thanks: 6,236
shadow, maybe I can help a bit, im on msn
PortalDark is offline  
Old 05/18/2010, 09:26   #2173
 
elite*gold: 0
Join Date: Oct 2008
Posts: 181
Received Thanks: 35
Quote:
Originally Posted by xryckaxx View Post
i create acc. log in create char then log out close gameserver and login server then trying open gameserver and i get dont send. how do i fix?
any 1 can help? :|
xryckaxx is offline  
Old 05/18/2010, 12:18   #2174
 
elite*gold: 0
Join Date: Jun 2009
Posts: 25
Received Thanks: 0
what SRO version works with this emulator ?
crazyneo6 is offline  
Old 05/18/2010, 12:33   #2175
 
elite*gold: 0
Join Date: Oct 2008
Posts: 71
Received Thanks: 5
READ
xvaidasxx is offline  
Closed Thread


Similar Threads Similar Threads
CSREMU help -.-
08/09/2011 - SRO Private Server - 3 Replies
Hello.. Well, I've tried searching for proper client download for CSREMU, but i can't find one.. nor can i find the proper tool's needed, since their all scattered, and impossible to detect which one is real or not.
CSREMU Help :S:S
10/03/2010 - SRO Private Server - 33 Replies
I know it give much threads or a extra forum but i think its better when i start a new thread here my problem is when i start all ! and load sro stabnds the server on check omg o.o i looked on database by navicat and i changed name
CSREmu
04/07/2010 - SRO Private Server - 2 Replies
CSREmu but when I enter to silkroad the server this check!!!!!!!! that I can do!!!!!!!!!? pls help me! :(
CSREMU
02/28/2010 - SRO Private Server - 8 Replies
Can i play csremu with 1.236 client cuz when i log on i get crash -.-" Is it beacuase of the wrong version or could it be smth else?



All times are GMT +2. The time now is 06:34.


Powered by vBulletin®
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2021 elitepvpers All Rights Reserved.