Jump to content

Tryskell

Legendary Member
  • Posts

    5,373
  • Joined

  • Last visited

  • Days Won

    70
  • Feedback

    0%

Everything posted by Tryskell

  1. So from what I understand, when you kill an enemy, you steal (or just got, not a big deal) him 10% of his pvp points. Ex : you have 10 pvps, you kill someone with 70 pvp, you earn 7 pvp so your total pvpkill = 17 ? ---- Now you want to add a similar system to mobs, but based on their experience (as they don't have pvpkills...). If you made the XP balance yourself (aka 7k xp is a lot for you), I suggest you to simply add a fixed multiplier. You can take in consideration the mob HP multiplier, if he is champion type, or simply his level. Mix all or pick up only one formula as you want. Easiest will be to take only the level, but the most accurate would be a multiplier of all values. I let you imagine the end formula :). Just think the result haven't to be too much or too low compared to player kill. I dunno your server, but taking a "normal" retail environnement, the value should be around /10 compared to what you eanr killing players. And gratz about idea, it's funny, even if I haven't the use of it, it's still clever :D.
  2. The common excuse :P. It's nothing about noobiness, it's about noobitude (noob attitude = I don't want to do the effort to search/do). If you see first line of Trance file, you can see it's MultiSellList.java and MultiSellChoose.java files. About where to search in this file to add "+" lines, do a search (ctrl + f on eclipse) with "-" lines. Or use CTRL + F on eclipse because changes are really minors.
  3. Search from cabal buffer when seven signs comes. I made my own NPC spawns each time a faction is winning, so... Possible. You will have to use AutoSpawnInstance (if interlude, no idea about higher chronicle but surely the same). And forget Python.
  4. I have no clue how it's supposed to work ( I develop only on interlude ) but : EnableCommunityBoard = False Enable it perhaps ? o___o CommunityServerHostname = locallhost localhost dude, localhost... CommunityServerPort = 9013 Port opened...? Check with a website to see... CommunityServerHexId = 123456 if it's the same than gameserver hexid, you got another track... You got only that as error ? It's not an error for me... It tries...
  5. You forget a </table> as others said. Instead of second code, put <?php // Make sure you change the IP address and port number below to match your server. global $FORM; $FORM = "<table width=100% border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"font-size:11px; font-family:verdana; color:#999999;\">"; $flogin = fsockopen ("67.19.46.122",2106, $errno, $errstr, 1); if ( $flogin ) $FORM .= "<center>Login Server<br><img src=up.jpg></center><br>"; else $FORM .= "<center>Login Server<br><img src=down.jpg></center><br>"; $fgame = fsockopen ("67.19.46.122",7777, $errno, $errstr, 1); if ( $fgame ) $FORM .= "<center>Game Server<br><img src=up.jpg></center>"; else $FORM .= "<center>Game Server<br><img src=down.jpg></center>"; $FORM .= "</table>"; echo $FORM; ?> I don't think this is the only error you get anyway, it's already made me the same error in the past. It was related with " symbols, dunno why. I just tried my code on my own server, the script is fine now. I launched my LS, you got my own script top of yourself (I changed your pics for text for my own test, it's not modified in your). If you get same error with a part of the script which isn't taken in consideration, it doesn't come from your script but from your webserver environnement. I made the test to change my index.php to index.html, and any PHP script isn't taken in consideration. So forget the track .html/.php, it shouldn't bug like that if it was an html file, it will just "forget" the totality of the script. I think there is a problem in the end of this line (for your webserver) : And I think it's related to the chain \">";, because your server think it's not php anymore from ";. My own error was the same than you, and each time I tried to deleted the \", it will bug in the next one. I don't remember how I have corrected the error w_w.
  6. Well I bump the topic with the solution, found the 25th, but I wanted to wait for any other solution which could be lighter. Ofc the NPE was related of my last post. That means I had to change the complete way of thinking, as the code won't offer me a "click & play" solution. I decided to change the question to : make a test on the faction of the clan. Which obviously don't exist before I implement it. I added a new variable in datatable "clan_data", factionId, which is written at the creation of the clan taking the leader.getFactionId(). So in "Datatables.ClanTable" I add in the createClan method clan.setFactionId(player.getFactionId()); After that, I just put 2 methods getFactionId and setFactionId on L2Clan.java + variable initialization at top. public int getFactionId() { return _factionId; } public void setFactionId(int faction) { _factionId = faction; } Then, in my L2CastleZone, I modified my check for this new type, as my clan got now a factionId : if (activeChar.getFactionId() != clanOwner.getFactionId()) activeChar.setSiegeState((byte) 1); else activeChar.setSiegeState((byte) 2); And finally it works :).
  7. That will help others people too.
  8. Test and see omg. L2J doesn't need 64 bits proco when L2off needs. This is the only answer you need.
  9. If you "really" use L2J than do a ticket. But I really think you focked yourself something, or you use a distribution pack. Even based on L2J that doesn't mine it's L2J. And seriously I doubt you use L2J (or C2 chronicle perhaps).
  10. Akken stop saying bs :P. 1 - it's not an NPE, it's an IOException error. 2 - it's not Archid, it's l2jmod. ---- About problem you got at line 128 as the topic creator said : The second line means if the "file" doesn't exists, then throw an error. If you refer to the first line you got the name of the file, "dimensionalRift.xml" To correct, you have to add the file to the good location : data/dimensionalRift.xml, so to the root of data folder. To be simple you miss a file in your datapack named dimensionalRift.xml, and the gameserver doesn't like it and says to you "Hehehe, you miss a file noob ! I powned your ass !". Add the file and it will be fine.
  11. The worst is I wanted to do exactly the same thing (more or less), but more backgrounded and less custom shitty (and less WoW). And IL ofc. PS : there is no sources, so what is the point of share ?
  12. He wants to create an area, not transform an existing one. My redirect guide is fine.
  13. You got 5 solutions : - keep the skill like it is ; - nerf it to go back to the normal ; that means java dev, and depending of your failed pack (because I assume it's a random distribution) it can be *big* for you (rework of spoil chance). - delete the skill, easiest solution if you don't have any clue how to do second possibility. ---- - ask to the dev team to correct their failed pack and wait for the fix. - change of distribution because those sort of bugs mean nothing more you will have more problems in the future. Today it's the craft, tomorrow... ? Why devs have to fock things which work, when they could correct things which don't work ? ---- The more appropriate question would be : if this useless skill is buggy, what about others ? :D.
  14. This guide is nice for noobies, it gives decent way how to proceed to add things. @ The guy talking of patches Ofc the patch way is far easier, but not all shares can be patched, mainly because of the difference between packs. Currently if you can patch your own project with any made patch, I don't give a lot about your own skill (aka you just SVN the L2J stuff and didn't dev anything). To give you an exemple, my own project got -150 java files (around 10% of source project), and more than 300 files edited. I deleted 15 datatables, and 80% of HTMs files. What you want I patch lol, it will just fail. Patches are fine to keep your current work safe (coupled to a timeline ofc), if you bs your local copy, you take back a copy from your SVN and re-apply the patch and you got clean work back. ---- The only thing I regret in this guide is there is no real problem. You should show too how you should proceed if, for example, you miss one line (different pack for example), or if a variable miss (happens very often than variables names are modified from chronicle to another). People haven't logic nowadays, but they continue wanting to dev servers. They don't know what to do to resolve their own problems when you could teach them methods which are easy to self-learn if you are logic. Why to give a man a fish when you can give a polefish. It's too much clean to be true. Developement can't be this way. Sometimes you have to show how hard it is, because a guide is nice, but people shouldn't believe it's SO easy.
  15. There are already guides about how to create any custom area, just use the Search button. http://www.maxcheaters.com/forum/index.php?topic=109914
  16. You have to remove the delete item code when you fails a enchantment and to add instead one line, the same as if the enchant was succeed, but instead of +1 you put -1. About annoucement, it's a bad idea, mainly depending of your server rates. Your chat will be flooded and becomes totally useless, as you can't block annoucement channel. Just forgive if your server (99% of servers) is an high rate, I don't know if you ever bought 100 enchants and try your luck on 5-6 items, imagine that x the number of players now, it's both useless server load and players' care issue. Search first where enchantements are made, after it will be really simple to analyze the part of code you need to remove and add.
  17. I don't think to share private projects are allowed on the board.
  18. I hate too, you have to learn the whole CMS to exploit possibilities, so I handmade mine scavenging scripts and made my own design from 3 differents designs. It's still a lot of work, around one full week. There is no solution, and even paid solution don't have any L2J scripts (templates). You can ripe off the very old L2J C3 website which was integrated with a DiskW distribution, it has a full interface and some PHP scripts (some ppl in MxC even dare to post the "who's online" map after so many years) but I have to warn you, the design is prehistoric and you have to search this "relic" by yourself. I can ask for a world without wars or a real Pokemon for christmas, but I think it will goes in the same basket than your ask :P.
  19. Google is your friend for non related developping question. This is the help section for developement issues. You spam with such nonsense questions that makes me cry. It's like I was asking what weather it does tomorrow, or if crowsbows are better than longbows in Mount & blade. It just haven't his place here, this isn't Yahoo Questions. You can try to post in the spam section too, it will be more appropriate.
  20. It can add a whole new gameplay for dagger type class if tweaked correctly. Never played on Aion ? Imo the only decent feature L2 should take from Aion is the Hide skill. Ofc, it needs a rebalance of daggers, like a HPs max decrease ^^. But it worth it. ---- You should add a random time, not a fixed time. For exemple 10-30 seconds. It avoids the skill/potion to be too much overpowered. About modified skills the Stealth could be mod for pvp purpose when the silent move toggle works for pve. The idea is just fine, settings have to be made according to personal opinion, no reason to discuss on this topic. ---- And ty for a new feature to implement :).
  21. You should contact your webhoster yup, I read some could firewalling ports to avoid spamming, which avoids to be blacklisted. Did you tried with other websites, because google isn't the only one :). Try with 2-3 others, and if it's still no, just ask to your host. You normally have an admin panel too in your webhoster, check about ports options if there is one.
  22. In IL, the only decent pack was Archid, but not the new version, the older (rev 1293M). The new got too much customs, even NPCs are custom. Too much datapack work side. Another option is to pickup the timeline from L2J and correct all your pack with their timeline, 1 by 1. This is the hard way, but sometimes you find amazing pieces of shit left in IL code. For example, 99% of running IL servers have a characters table with too much infos on it. All primal infos as stats etc are totally useless. You can go to L2JFree if you know how to compile it. Personally I have given up at first time, and L2JFree forum isn't helpful regarding old chronicles. Currently there aren't any decent IL pack, I had the idea to make one from old Archid (I talked to Sethek about it, don't begin a troll war) and fix all the missing skills etc (and currently my test server got signets and some skills you never heard about), but I dunno if people will follow.
  23. The $server variable was under ""... And what about the @ before fsockopen, I don't see the use. If that still doesn't work, try with another existing hostname, instead of your IP put www.google.com About the timeout, I have no idea how it is influenced by the ping. If it is, it could be one way. There is a default timeout set in your php.ini, so this optio is pretty useless anyway (from what I read). See more about fsockopen here : http://www.php.net/manual/en/function.fsockopen.php
  24. You tried to empty your browser cache...? Lol. Be clear with your words, you're saying when the server is off, it says "offline", and when it is online, it says nothing. You're wrong or I'm wrong ? Because if it's true we got a track, if not that make a useless post on MxC lol. Both off and on server should call nothing, if you got images when the server is offline, it's a draw problem. Lol. Try replace your images with just a damn echo too. I put the code in quote because it looks like christmas tree if you put in code tags. If you got something it's related to your images. About wamp, it was just if your current thing was a developement lab. You are supposed to be able to do the link between 2 hosts. What have you tried with mySQL so far ? Is your webhoster got security policies you didn't read ? :P EDIT : TRY TO CHANGE THE HOSTNAME FOR A REAL ONE >> WWW.GOOGLE.COM
  25. First, this faction engine sux, just from the little you shared. I don't think you can do it heavier lol. Second, this famous bug happens when you don't have actionFailed packet call. You have to add actionFailed packet else you're stuck like you say. Guess what, you're not supposed to have this bug but you have it, congratulations. Third, you have to target yourself and press escape to move again. Fourth, what chronicle ? It's supposed to be Interlude bug if it's not related to your shared code. And apparently, it doesn't have to be. Fifth, only my faction server will rule the world and elpies, muahahah.
×
×
  • 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..