-
Posts
5,360 -
Credits
0 -
Joined
-
Last visited
-
Days Won
62 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Tryskell
-
You should try to talk to them, cause if they got adena problem, and resolve it, you can have your fix. BTW, could you PM me with your adena script ? I would like to test on my own server to see if there is security. If there, I will point you about solution, else I will cry too :P. About PHX, it's like Wireshark, aka it's see what packets are send/received. You can send modified packets through L2PHX, and it's why it's stupid to think there is anti-L2PHX, cause block packets = block server lol. You can add conditions, make some checks, but don't dream, there can't have anti-L2PHX, just ways to nerf it. Or you known network stuff, and you should better hack money accounts than developping on L2J lol. But it's another discussion :P.
-
[HELP]Top Stats PhP + DB + Problem
Tryskell replied to Bobi's question in Request Server Development Help [L2J]
$server="already"; // MySQL IP $user="Already"; //MySQL Username $password="already"; //MySQL Password $database="already; //MySQL Database Erm, you edited your post to change that infos to show your script on MXC, or it's like that in your php...? Cause if you have that in your script, it's won't work lol. Second, can you access your mySQL data with navicat/phpMyAdmin ? If you haven't any db access, that show your problem... Third, localhost must have at least a localhost line. Whatever are others line. 127.0.0.1 localhost Fourth, what is your network topology ? You test all in the same PC ? What software you use ? You try reach a far-away server ? Explain... And if I can give you a hint, for developer-cases, uses a AIO server solution, like WAMP/LAMP (solid and easy). It will avoids all PHP/mySQL/Apache installation, config and problems. -
[Share]L2 Online Players Map for your l2 web site
Tryskell replied to bubulinas's topic in Website Templates & Themes (Free)
Pretty old stuff... I got the original C3 website who goes with :P. Or "How to auto-kill my server". I loled hard about the idea. Want to put to 1sec, like that it's a PHP game. Must be funny to see your connection drops with 200 players on. I suppose you are kasar then ? Because if you are so lazy to even can't change credits, it's sad :P. And your thing about "couldn't put less than 1min" let me think in that way. You should add CW, inventory, the fact to move clicking on the map, and you can rename it Lineage 2. What is for 3D... PS : the beetle for RB show is ugly :P. -
I have to agree, all registry things for memory are just craps. About desactivate useless services, well I'm ok - It can release some Mo. You can too make a very lighter windows CD if you use some softwares. I don't know if I can say names, but there are some very common softwares, Google is your friend.
-
[Request Help] Voting System
Tryskell replied to sekker's question in Request Server Development Help [L2J]
Sort of contradiction. ---- On the topic : http://www.maxcheaters.com/forum/index.php?topic=152286.0 -
Q: How come the Age of Miracles Ended? A: That was the development phase of the project, now we are in the maintenance phase. Just my epic sentence :). I must add I'm not sure than God use a timeline for his own project... When he does errors, he can't revert back.
-
I know it won't help, but all Olympiad stuff or near is in Olympiad.java. And depending of your chronicle (and I don't even think it have been rewritten since IL), this file is a big mess lol. Btw, give more details... People think we are in their heads. It's not a 1/2 long sentence which help. So develop... 3 lines... Not so hard. @Intrepid, you changed of country ? :D.
-
I don't get what you ask... About water state, here is the L2J timeline about it. It gives an idea about what files are used by. I suppose you ask an IL server with that already integrated, as it's a kamalol+ feature. http://www.l2jserver.com/trac/changeset/1585
-
There is currently a L2J Dialog Maker, from SL2. Their homepage (it's too a private server from what I see). http://sl2online.pl/home/?sl2-l2j-dialog-maker,141 I used it for my personal HTMs ;o. PS : Erf, their DL link is broken... Here is a 4shared link : http://www.4shared.com/file/rVnjN_e1/Viewer_dHTM.html It's their "last" version.
-
Bug Unequip weapon and remains in the hand
Tryskell replied to DS-Dazzel's question in Request Server Development Help [L2J]
CHANGESET_VIEW privileges are required to perform this operation Can't see your timeline. Btw, if you remember a revision which was working, you should take from here, and try : - to revert via the revert unified patch tool in eclipse ; - try to understand where the fock you have changed that lol. By default, there is not this kind of error in any decent pack, so I'm pretty (101%) sure you added it alone. By luck you got a timeline so you can see what you have edited. You should try to see all items related-packets, L2PcInstance is another way. And if you have to add some custom... Check them twice before commiting. A timeline is usefull if you don't commit s*it. Or if you did one, at least you can easily see the "infamous" commit. AND USE A DAMN TEST SERVER BEFORE EACH COMMIT. :P Mainly accurate on what your server is supposed to be changed. I know (from experience...) sometimes you can't see something in first view, but generally, if you haven't an idea about WHY there is an error, there is a problem in your developement system lol. Or you commit only "plug and play" patchs, which isn't better than trying to use a precompiled pack. I think L2J is a question of logic more than a question of pure Java. But ok, knowing WHAT and WHEN is for "synchronized" and others shits like the diff between a Map, FastMap, List and FastList can be usefull too lol. Well actually those are my personnal questions about life lol. PS: 3 "developers" and no one can find where comes the problem ? :P -
As it supposed to be, a floodprotector see how much packets of the same type / unknown are send, and if it's higher than a value, it sends an actionfailed packet (blank) instead of the packet you spammed. There are some ways to kick player if he send too much packets, or if he send unknown packets, independantly of the floodprotector. IMO those counter-measures are far better than floodprotectors... Btw, the most funny is a client flood is often nothing for a server. It often make the client really really laggy (cause of actionfailed), but I checked an attack from the POV of the attacker and of another dualbox on my server, and the attacker was laggy alone lol. And if punition is put on floodprotector, he is just kicked/banned... Problem solved. But if you tweak correctly, you decrease server charge ofc. ----------- About floodprotector, I didn't check how it was made, but it's activated only on some packets (firework, subclass... etc, the common), if there are > xxx. So no real charge til you got a flooder. Main question is : what about others packets. If you want numbers and % charge, no idea and I don't think it will help anyone lol. If an option exists, by default it means it's usefull.
-
[Interlude] Project Interlude L2jRox
Tryskell replied to Inspector's topic in Server Development Discussion [L2J]
If you want to do something about L2j programmation, I suggest you strongly to give up and ask to enter in L2JBrazil team lol. Well, I say nothing... I don't get this fashion about "I want make my own public project". Is there a E-penis counter somewhere on the web ? -
Bg is common (and used in many L2 websites), typos suck (Times New Roman, why not Comic w/o MS rofl), and text color sux aswell (disco green). Buttons are basics. No originality, 3 buttons, one bg from a draw of L2 and an other image in symetry, one purple layer 60% opacity... Well, I can do better for sure.
-
[GUIDE] Server Proper Shutdown
Tryskell replied to EdenEternal's topic in Server Development Discussion [L2J]
The goal of a server is to don't shutdown, so why you need a "proper" way to shutdown it ? lol. I shutdown my dev server like 10+ time per day (dev time) using the cross button and without wait the normal sigterm, 0 loss data, 0 bad data. And no lost data if you wait the normal shutdown to be complete. And even if you "savage" shutdown, you lost near nothing (aka, eventually dropped item and char position, which is pretty nothing). If you have a custom event/period thing and you don't put a proper way to save, it's your problem after. Save "on the fly" is usefull from the moment you don't have to make it 100x / min lol. -
It was the point I was defending. With the same hardware, I don't think you can handle the same population. I agree the "100 server population" exists only with home host. About coyote, 80% of the first post talk about OS and hardware, so what if I point on it ? I suppose there isn't problem with Java, the only restriction in programmation is ofc the program itself. As Blackmore said it right, I'm not sure those days you can handle a lot of players of any MXC shared custom packs :P. But still, when you see L2DC project, and they say they use 25% less than any L2Jxx server (no idea if it's marketing or no), you can think about optimization of the "mother" project itself. Btw, it's no because a 100mega inet line will give 100mega... Or a 54mega wifi can use a 54mega connection. There are limits, whatever you think. If it's not OS (your 16kk clients), it's program, if it's not, it's connection, if not, hardware. And I don't even talk about environnement (physical etc) which add latency. The goal in a server isn't to reach 50k players, it's to make it playable aswell lol. ----- By default, L2OFF uses more ram, but can handle more players at EQUAL FEATURES and HARDWARE. But I agree some servers (check their server specs, and make a approximative cost lol - 4 dedicate inet lines, etc etc) haven't to be ashamed about population. And what only 2 exemples which reach 3K+ ? On 1000 L2J/xx servers ? :P It's not a good proof about limitations ?
-
Lvl 8 to 10 is too lol. Try to find 140 members in your 100ppl server lmao. It's possible to make any lvl, at least at the max number, which must probably be a int 10... PS: int 11 in IL... Aka clan lvl 99,999,999,999
-
Not a myth, someone show me a L2J with more than 2k ppl on (+1k shops), but hardware was so expensive you could raise 2 L2OFF just with the price of the server lol. So forget for the same performance :P. Same amount yeah, but not the quality. And basically a program can limit network... You just advance theorical things (like I do). Nothing is explained (except some wikipedia stolen infos lol, what the big deal MS server can handle 16kk connections, in your server you can do 5k max... You see, the program limits the OS.).
-
Changing NPC resell prices
Tryskell replied to AshLynN's question in Request Server Development Help [L2J]
It depends what exactly you want to do. totalPrice += item.getReferencePrice() * count / 2; is probably the easiest way. Remove the /2 to see if it does something IG. I don't rem if "sell" is 50% of the worth of an item, but if yes, you got answer :p. According to what I read in the code, it should sell back at original price (removing the "/2"). After you can mod it as you want /10, /4,... If you haven't this line, say the chronicle :p. -
Fame+Clan Points!
Tryskell replied to Vampirenios's question in Request Server Development Help [L2J]
It's core related and if you want to add from database, you will have a lot of work, adding 2 columns. A fixed amount or according to mob - lvl or HPs - is a lot easier... -
[Help]Problem with New Char
Tryskell replied to rzecz's question in Request Server Development Help [L2J]
+1, recurrent IL error. -
Changing NPC resell prices
Tryskell replied to AshLynN's question in Request Server Development Help [L2J]
I hope I have understood your question. By "selling price", I suppose you talk about the "Sell" option on some merchants/fishermen, where you can sell back for 1/3 of the value (or something like). If yes, it's in (network/) clientpackets, RequestSellItem. ---- If I'm wrong, explain better. If it's not the good loc, this post has never exists :P. -
[HELP] NPE Error With Hitman Event of Setekh
Tryskell replied to Stefoulis15's question in Request Server Development Help [L2J]
I adapted it on L2J archid (the old free one), and all is working fine, except some errors than I didn't agree with (guards kill you, you're still under bounty but the guy receive a msg like you are dead and there is no more bounty on you), but I corrected it. All is working fine, I suppose you missed something. if(Config.ALLOW_HITMAN_GDE) Hitman.getInstance().onDeath(pk, this); got it on the doDie of L2PcInstance. L2Character doDie isn't used. onDeath isn't supposed to be changed, it's called from hitman.java (model/entity/...). Here it is (modded) : public void onDeath(L2PcInstance assassin, L2PcInstance target) { if(_targets.containsKey(target.getObjectId())) { PlayerToAssasinate pta = _targets.get(target.getObjectId()); String name= getOfflineData(null, pta.getClientId())[1]; L2PcInstance client = L2World.getInstance().getPlayer(name); target.sendMessage("You have been assassinated. You haven't any bounties on your head now."); if(client != null) { client.sendMessage("Your request to kill "+target.getName()+" has been fulfilled."); client.setHitmanTarget(0); } assassin.sendMessage("You assassinated "+target.getName()+", his bounty will be converted in adena !"); assassin.addAdena("Hitman", pta.getBounty(), target, true); removeTarget(pta.getObjectId(), true); } } addAdena is used on many others .java (under IL anyway), and written in L2PcInstance. It's why you got addAdena erros, when you try to change to L2Character. Btw, why to change on L2Character ? The finality is to kill a player, so... L2PcInstance. I agree the killer haven't to be a L2PcInstance, as there is summons too. Just give a decent error ^_^", with non modified code. -
[help]my friends cant connect on my server
Tryskell replied to kostantinosftw's question in Request Server Development Help [L2J]
Replace 0.0.0.0 -> * -
Have you opened ports in your router ? Dunno for epilogue, but there is 3 ports to open on UDP : 2106, 7777, 9014. You say nothing about your topology dude. Is the server is your dev PC, distant, are you using a router, etc, etc. Avoid to use 1-999, only kids does. If you client revision isn't the good, you got a GS log message on it, and it says which revision you are using. Anyway on IL, it works like that. I think it's IP based problem, I had more than once too. And each time I forget the answer lol. Here are my configs, they are working on distant aswell. LS and GS are on the same PC. I can log in from the same PC, and ppl can login from the internetz. First, LS and second GS. # --------------------------------------------------------------------------- # Login Server Settings # --------------------------------------------------------------------------- # Default: 127.0.0.1 ExternalHostname = 92.129.91.61 # Default: 127.0.0.1 InternalHostname = 127.0.0.1 # Bind ip of the LoginServer, use * to bind on all available IPs # Default: * LoginserverHostname = * # The address on which login will listen for GameServers, use * to bind on all available IPs # Default: * LoginHostname = * # Default: 2106 LoginserverPort = 2106 # The port on which login will listen for GameServers # Default: 9014 LoginPort = 9014 # If set to True any GameServer can register on your login's free slots # Default: False AcceptNewGameServer = False # If False, the license (after the login) will not be shown. # Default: True ShowLicence = False # --------------------------------------------------------------------------- # Game Networking Settings # --------------------------------------------------------------------------- # Default: * ExternalHostname = 92.129.91.61 # Default: * InternalHostname = * # Default: 127.0.0.1 LoginHost = 127.0.0.1 # Default: 9014 LoginPort = 9014 # Default: * GameserverHostname = * # Default: 7777 GameserverPort = 7777 Hope it will help. If you want a hint : I would first check configs to see if they match, if not correct. After that, I would check ports on router. And after that I would cry cause answer is known only by aliens so /emocry. And check firewall dude... It's sad to use a firewall.
-
[Share]Full GeoData + PathNode [Interlude]
Tryskell replied to CriticalError's topic in Server Development Discussion [L2J]
I don't get how you have updated the geodata without updating files... All are from 2007, 2 are from 2008. Which means this geodata is pretty old (L2J one) and surely not updated. ---- The tool used (L2J synchronizer) is a synhcronizer to get last geodata from L2J website. And all know their geodata isn't under devleopement since some years. Here my sources : http://pjondevelopment.50webs.com/articles/l2jGeodataSynchronizer.html ---- This post is like selling a miracle potion and in fact it's whiskey. PS : and the geo_index.txt is full of bugs, here an exemple (normally it goes from xx_10 to xx_26) : 16_10 16_11 16_12 16_19 16_20 16_21 16_22 16_23 16_24 16_25 16_26 17_10 17_11 17_18 17_19 17_20 17_21 17_22 17_23 17_24 17_25 17_26 18_13 Should be dekarmaed.