Jump to content

Speachless

Premium
  • Posts

    683
  • Joined

  • Last visited

  • Days Won

    8
  • Feedback

    0%

Everything posted by Speachless

  1. In my case it was that the click ramained locked on the client and you can't unclick it so everywhere you will move the mouse, the client will follow. Happens if you try to drag the client before it's fully opened.
  2. Right click remains stuck when you use it as soon as the client opens, before it fully loads. As a quick fix, I enabled your solution only after the login is initialized. I did not found any other bug, nor my players reported any. Thank you for the fix!
  3. Go talk to him. He's about to make this things clear. He hoped at least they will pay him eventually, but looks like he was just used so no reason to keep things like that.
  4. No, he just created that graphics and made the Zenaris server known. currently he hasn't made even 1 euro from it. They still refuse to pay him He has no access to the server as an admin etc.
  5. No, me (calliope) and fame (rodnia) worked directly with Jettyx. Zenaris owners did not paid Jettyx any money, and because of the leak, he decided at least get some money with us. At least our servers are old, and we paid him asap.
  6. That leak is before the opening and has bugs on the graphics binary side. There is no database leak
  7. There is one guy on my server pretending to be friend with the other old players and asks to borrow some yang then sells it for real money. And you won't believe how many people actually gave high amounts of yang to the supposed "friend" while being on a level 1 character! 2023...
  8. It's different than using len() ? for the lenght
  9. It's been years most servers uses this including mine and it worked as if it was upgraded by source code. Everyone can use safely.
  10. Be aware of what lordzokarum said. Nobody ever should develop a website-game item or yang data transfer. Simply because you can duplicate the items. For every action you do in game like item drop, add into a shop or something you need to add a function that blocks other actions and etc and that's an workaround. I don't see how this can be safely made.
  11. Visual Studio Code it's life savior for everything. You can code 10 times faster than notepad++. Finding game functions is a lot easier. You can find anything you want in a matter of a second. Visual studio is good too, but i don't like the interface. My screen is too big and i find visual studio code better.
  12. Maybe it's because you added that questflag directly to it. Try with something like local mobVnum = ADD_VNUM_HERE if true == horsesystem.is_summon(mobVnum) then and the vnum to be different than 0
  13. In server src you must have a questlua_name.cpp with that name registered, example: CQuestManager::instance().AddLuaFunctionTable("newpet", newpet_functions);
  14. The dungeon can't run any set quest flag while you have a quest open so you can even bug the dungeon and have to remake it. One simple way to avoid this was to disable damage while having a quest open so no monster die doing this and no being able to open any quest if you attacked any monster in the last 2-3 seconds. You can even make the boss to respawn for unlimited times in some dungeons. Most owners have no ideea about this bug and it's present on their servers since forever.
  15. You don't need to attack me with that because my intention here was not to attack you. Wanted just to say this is possible to make with cpanel for everyone who wants to do it with cpanel. Just because you spend time to configure a centos or bsd vps in a complicated way won't make the download faster or the vps better protected to attacks and i don't want to say you shouldn't do it just because cpanel exists, i used to configure vps like you explained here in the past. Contabo, ovh sells vps with weak internet bandwidth something like 100 mbps, 250 mbps. Speaking from my experience when i visited Spain i had really good download speed from my romanian hosted patcher. I'm not saying romanian's the best, but for me, after trying so many other countries romania provided the best download speeds for the patcher, but not the most stable internet for a hosted server. "So it's great that Cloudflare caters to people like you and make a business out of it, some of us like to have control over our infrastructure and pay only for the metal it's running in. " = i am not paying anything to cloudflare. It simply allows me to change fast to which ip a domain points, which is great. "Also your thinking that changing a DNS in CF when your host goes down is cutting edge technology is so ridiculous I won't even comment of it." = You should think twice. There will be 2-3 momments in years in which it will for any reason go down (host issue, strong ddos attack), remember the fire that happened to OVH where lots of vps were lost ? So if my vps/host goes down shouldn't i be able to change the ip the domain points ? with CF i can do it in seconds. Let's also put a strong point on high bandwidth servers too and where we can find them at a low price And i shouldn't have started this subject from the first so let's end it because i'm not here to say you do it wrong or whatever. You better ask a moderator to clear the comments. Example: In your patcher config xml, make it point to this torrent_config.php file Then this is the website part Or with redirect: <?php $rand = rand(1,3); if ($rand == 1) header("Location: [Hidden Content]"); elseif ($rand == 2) header("Location: [Hidden Content]"); else header("Location: [Hidden Content]"); ?> If people don't know what torrent.config.xml contains: I think it's better i am displaying directly the xml content rather than redirecting to it. Anyway, this is how you can easily do it in php. Tested and working fine, however your method is very good in having the ability to create your own firewall rules. On that i can agree.
  16. That's far from what i wanted to say. Simply said: All your complicated tutorial can be easily done by pointing the patcher to domain.com which then he redirects you to one of his domains s1.mydomain.com s2.mydomain.com who are pointing to different ips(hosts). In case one goes down, using cloudflare you can change the ip it points in seconds without the traffic to actually pass through cloudflare's ips. Is that hard to understand ? Jesus christ. And can be done with any webhost, cpanel, plesk whatever is there. You just need a simple redirect not using freebsd or centos. Sorry, but cpanel is still superior to any manual workaround. The time you spend configuring a centos server or whatever, or as you say freebsd, is not worth for me (though i used to have patcher on centos vps). I think everyone is free to chose what kind of solution they want. Why you get triggered ? Ps: Romanian cpanel webhosts, especially cloud ones are cheap, come with high internet speed, no bandwidth limit and with good cpu/ram/space resources. I am aware other countries doesn't have this options, but anyone can rent a romanian host and see actually what a good speed they have all over Europe. If not, a vps with freebsd, centos or whatever is cheaper and the only option. I won't give any other answers here.
  17. All i wanted to say is you can do it with simple redirects even in cpanel and how they can do it even for different locations. Europe, Asia, America whatever. Your post is about nginx/freebsd, but this load balancing can be done with any type of webhost.
  18. And for the people who don't want to deal with this tech part, maybe for some of them it's complicated they can have let's say main.mydomain.com which at every patchload randomly redirects to s1.mydomain.com s2.mydomain.com who are hosted on different hosts. (you can use cloudflare to update the ips in short time), but without activating the cloudflare dns otherwise you will have that patcher error (and as far as i know cloudflare doesnt allow high bandwidth usage). Also patchers do not require high ram / high cpu hosts. just average normal hosts. it's all about internet here. Want to redirect also based on their location ? You can activate the cloudflare dns on the main subdomain where the redirect happens, and use the $_SERVER["HTTP_CF_IPCOUNTRY"] to get their language.
  19. I want to say something aditional about what Amun said. When it comes to cpu, it's not about how many core it has and more about how high the cpu freq is. So a 16 core of 3 ghz, can perform less than a 8 core of 5 ghz. This is because m2 has multiple cores and mostly only 2-3 cores have high cpu usage like the map1 especially if you have map1 on a general channel. Most of the other cores requires almost no cpu power. I never used vps or vds, only dedicated server because i was affraid of not having a stable network, but other than that i guess a vds can be good. Also if your server has high mysql usage some optimisations can reduce it to almost nothing (i have like 0.54% usage on a big old server) When you start for the first time, never go for the most expensive dedicated just to feel safe. This game has very small usage if your source code is properly written. Most of servers have lagg because of bad code not because of the host. Run some tests make sure your systems don't use lot of cpu when more people do the same request in the same time / or when they have to run through lot of data especially if you have something that doesn't use cached data (and better update the code to use some form of cached data). Add some cooldowns on your server's commands too so nobody can spam them, and even on the packets. Use index on tables, otherwise anybody can lagg your game directly from the website. Better add google recaptcha on any request that uses direct query on your website. (like login, register). On the user panel you can use cached data (you load it on login, you don't use direct query to get the email, username and other details). And avoid direct query on every page refresh. When it comes to players ranking, make a script to generate the list in a .txt file using a cronjob, and the page only displays the .txt file instead. The same you do for the online players statistics. Shogun has a topic about mysql 8 or something, that has a good my.cnf example of how to tune your mysql for the best speed. (but this require to have plenty of ram though, however ram is cheap everywhere) and most of the things there are ok for older mysql versions.
  20. Then do the things i asked you to check. Aka the first comment in this post tells you what to check. Have fun!
  21. You need to check what functions are called when you teleport (char.cpp ::WarpSet / intrologin.cpp ::EnterGame). It is probably in EnterGame. However depends also on your machine power. If it's a very weak virtual machine then even something easy may look like uses cpu power more than normal, but it can be actually just a weak cpu.
  22. This line pkThingInst->Deform(); makes some buildings to become very big after a teleport (depends what was the last map you were in). Not adding this fixed the problem without affecting the animation of the wings.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.