Jump to content
  • 0

How to test server before it goes live.


Question

Posted

Hi im new, anyway i wanted to ask how i can test my l2j server. I mean how it will act with players online maybe 500++. It might seems silly but does offline shop are similar to real players and can i use them to test my server bcuz i wanna avoid problems when i actually run it.

12 answers to this question

Recommended Posts

  • 0
Posted (edited)
1 minute ago, VesKo said:

 

Ok thanks for your time. I think its impossible to test what i wanted so i will just probably run it when the time comes and fix as something happend. 

 

Consider opening for BETA, it really helps to spot out major bugs before you move to official opening, because the amount of bugs that typically occur during the opening can be overwhelming.

 

Good luck.

Edited by An4rchy
  • 0
Posted
25 minutes ago, VesKo said:

Hi im new, anyway i wanted to ask how i can test my l2j server. I mean how it will act with players online maybe 500++. It might seems silly but does offline shop are similar to real players and can i use them to test my server bcuz i wanna avoid problems when i actually run it.

Fakeplayers

  • 0
Posted (edited)

Testing with fake players is a lot more complicated than you think. There's several systems/behavior that need to be created for the bots to be actually useful.

 

It all depends on what you wanna test. If you want to test for example PvP, you need to setup parties of bots, with correct behavior of each class (bishops healing, ressing, mass resses, cleanse, positioning, tanks aggro, archers to assist and perhaps run vs daggers, target priority, assisting etc etc).
 

If you want to test quests, it might get even more complicated, as you need to create logic for each quest to be automated by a bot, then save the results for each part of the quest in a readable manner to gather results (like how long it took, what the rewards are in the long term etc).

 

If you want to test whether or not your server will hold 500 players, bots are not the way to go, since you'll only be sending information of 500 bots to one player (observer, the admin, yourself). Real 500 players would be far heavier, as you would need to send information of 499 to each player (if they're in the same area ofcourse).

 

-

 

Best you can do is do an open beta, fix some bugs that will occur, and be prepared for 200 more bugs on opening. There's no real way to avoid this, unless you've re-opened the server 5 or 6 times and you've fixed (almost) everything that occured.

 

GL.

Edited by An4rchy
  • 0
Posted
2 minutes ago, VesKo said:

I just wanna see how gs will act while with players so if smth came out i can fix 😅

But seems like its on-run going

 

It's not possible to emulate the behavior of 500 players easily to test if any errors in GS occur. That would require testing every aspect of the gameplay because believe me, players dig into everything. I had some people trying to fish in L2Eola, a pvp server where there's absolutely no reason to go fishing (slots were 300 or more iirc). Guess what fishing was broken and I got flooded in GS console with errors.

 

These things can only be detected real-time, unless you're some kind of genius and think of everything beforehand.

  • 0
Posted

What will i achieve if i make 600 offline shops not one near one? What part of srver this will stress? 

I know players are digging im concern not about errors that can occur once when someone is fishing more like something that can be fatal about server connections

 

  • 0
Posted (edited)
7 minutes ago, VesKo said:

What will i achieve if i make 600 offline shops not one near one? What part of srver this will stress? 

 

Nothing really. Server ram usage will increase slightly and perhaps a few more milliseconds server loading time (if they're loaded on server startup and saved on server shutdown).

 

On client-side it would be a bit heavier as there's no concept of 'offline shop' in the client, it would assume those offline shops are idle players, so animations would still play and their meshes would still be rendered, resulting in less fps or worse performance (if they're in the same place).

 

  

7 minutes ago, VesKo said:

I know players are digging im concern not about errors that can occur once when someone is fishing more like something that can be fatal about server connections

 

As long as you didn't mess with networking code and your pack has been used by online servers before, I doubt you'll get networking issues (except for the few people that try to run on VM, or windows XP xD).

Edited by An4rchy
  • 0
Posted
1 minute ago, An4rchy said:

.... 

Can u explain me about realplayers whats that and can i use it just so i can make 600 online real-like connections to see server basic behavior? 

  • 0
Posted
Just now, VesKo said:

Can u explain me about realplayers whats that and can i use it just so i can make 600 online real-like connections to see server basic behavior? 

'Real players' is not a system, I'm talking about actual players. There's no way I can think of that you can emulate 500 real connections without access to client source to make the modifications necessary.

 

You could in theory make a 'mock' tcp client to connect with l2 server and make it spam packets to the server to emulate many connections with real data sent-received, but seriously who would bother to do something like that for L2 lol.

  • 0
Posted
1 minute ago, An4rchy said:

'Real players' is not a system, I'm talking about actual players. There's no way I can think of that you can emulate 500 real connections without access to client source to make the modifications necessary.

 

You could in theory make a 'mock' tcp client to connect with l2 server and make it spam packets to the server to emulate many connections with real data sent-received, but seriously who would bother to do something like that for L2 lol.

 

Ok thanks for your time. I think its impossible to test what i wanted so i will just probably run it when the time comes and fix as something happend. 

  • 0
Posted
1 hour ago, An4rchy said:

 

It's not possible to emulate the behavior of 500 players easily to test if any errors in GS occur. That would require testing every aspect of the gameplay because believe me, players dig into everything. I had some people trying to fish in L2Eola, a pvp server where there's absolutely no reason to go fishing (slots were 300 or more iirc). Guess what fishing was broken and I got flooded in GS console with errors.

 

These things can only be detected real-time, unless you're some kind of genius and think of everything beforehand.

😂😂😂

 

Rly fishing as Hobbie in l2 jesus

  • 0
Posted
3 hours ago, GsL said:

😂😂😂

 

Rly fishing as Hobbie in l2 jesus

I think it's because players are looking for exploits in every single part of the game, so perhaps in some server fished stuff could be sold for 10kk each so they test everything.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • What’s DatForge? Well… it’s a website I built initially to edit .dat files for Lineage 2… but not only that. Now it also handles: .dat, .ini, .htm, and .l2r files basically most Lineage 2 client data file types across 33+ chronicles. https://datforge.pages.dev/   Support / Reports / Anything Discord: https://discord.gg/5YwhBr5Dhx (use it for support, bug reports, or anything related to the project) Does it work for every version? No idea. I haven’t tested every single one… unless you want to volunteer. Do I plan to support every version? Yes. That’s the dream. Will that dream become reality? idk man, can’t promise shit. What’s coming next? (aka things I plan to do before I disappear) xdat editor .u editor / compiler / decompiler Let me sell you a dream real quick I will maintain this forever… probably… maybe… don’t quote me on that. Before you even start First requirement to use anything I build: you gotta be able to think. I won’t spend time drawing. Also… whoever said “there’s no such thing as a stupid question” was lying to make stupid people feel better. If you ask a stupid question, I will ignore it. PERIOD. Extra FAQ (since people will ask anyway) Am I looking for other pseudo AI coders/devs to join? Not really… unless you can actually add real value. Am I looking for people to manage a Discord server? Probably yes. I hate that crap. Will we be friends if you sign up? Not really. Will I do any changes on your L2J server if you sign up? No. Will I teach you how to code? No. How do you know if I’m legit? You don’t. FAQ (before you ask) What makes us different? There is no us. It’s just me. What makes me different? idk, you tell me. Why should you buy it? You probably shouldn’t. But if you want to… go ahead. How do I try it? Click the link. That’s it. Will the free account have everything? Read the pricing page. Don’t ask questions you can answer yourself. What if I find issues? I’m not your father, I won’t teach you how to use it. But if something is actually broken, post it and I’ll fix it. Why is it taking so long? Because you’re buying a tool, not hiring an employee. I work on it when I have time. If you want to pay my salary… we can talk (no promises). Am I an asshole like I sound? Not really. But people seem to like it, so I’m leaning into it. Will you share the source? Yes. Wait and see. If you're still here Congrats. Feel free to ask questions or suggest features. Just don’t come with crazy ideas, and remember: suggestions ≠ implementation. Bug reports If you report issues, they’ll most likely be fixed within a few hours… worst case a few days. Security issues / bypasses If you find something interesting, send me a PM with steps to reproduce. If it’s legit, you might get rewarded. “But if I don’t report it I can exploit it forever” …until I fix it myself and now you got nothing. Your call. Release dates When is xdat editor coming out? Soon. What day? Soon. What about .u files? Soon. Why no dates? Because this is not my full-time job. Pricing Do I need to pay to try it? No. There’s a free tier. If you want more, you can pay and unlock everything. Final note (before the “ooh but…” starts) This tool was built for me. I just decided to share it. I’m not a company. I’m not trying to live off this. But if you want a tool and don’t want to build it yourself… well… I already did 
    • report: scammer @nickathan he was a customer of me and this time i trusted him to send the files before i get paid .. he said in 1 hour he will give the money, i gave him space for 2 weeks , but he vanished! Proofs can be transmitted to @Celestine 
    • If they ask you to write something, you should ask for the full context. We had a private chat between the administrators of mxc and gx ext. He was allowed back on the forum on the condition that he did not spam unnecessary posts. As far as I'm concerned, it shouldn't be allowed because it involves multiple scams. We want and aim for a stronger community. He's not only doing this with this account, but with several, since this user has multiple accounts. As for what one user or another contributes, that's irrelevant; I often provide support to the community and I don't need to make it public. But I repeat, if they ask you to write a comment, just ask for the full context, nothing more than that. Or if you want a direct answer from me, feel free to message me privately so we can avoid spamming a post about an extender. That's the problem with second chances 
    • I currently have a working custom quest, but the problem is that I can't see it in the game's quest log. I've added it to questname-e.dat, but I still don't see it. I think there's another file where I need to add it, but I can't find it. For the items and skills I've added, I've always put it in the name and grp fields, but there's nothing related to questgrp.dat in the quest log. Could you tell me where I can add it?
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..