-
Posts
66 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Allengc
-
banned from where and for what Reason? dont make me laugh ::)... You should check the hopzone's website sometimes...
-
[Share] AIO Grand Master By Allen (IT-H5)
Allengc replied to Allengc's topic in Server Development Discussion [L2J]
The code was improved :), also a new link was added for interlude servers, tested on L2jserver, l2jfree, L2JBrasil and L2JTeon. -
Thats right, and this is important too http://www.skymind.com/~ocrow/python_string/. i will use Method 5 for now in my scripts. Thanks for advice. By the way, I think this method and what you said, can greatly increase the concatenation speed of any code, but implementing it in this buffer, is almost the same :S, this code is based in data base queries for everything (and that's just i try to avoid lately), so the concatenation speed and performance will be bad anyway :).
-
[Share] AIO Grand Master By Allen (IT-H5)
Allengc replied to Allengc's topic in Server Development Discussion [L2J]
Actually i cant, i haven't interlude client, and i need it to remake this npc, sorry ;). -
[Share] AIO Grand Master By Allen (IT-H5)
Allengc replied to Allengc's topic in Server Development Discussion [L2J]
yes it is :D. I saw that some people thought my Stackable Subclass Master was a AIO GRANDMASTER, and asked me if it was possible to use that npc only to switch between classes, and that was not possible so I decided to share this one that is able to do that ;). PD: About AIO NPC, i will try add that feature when I have free time. -
Hello guys, I bring you a new share. This is a Grand Master ALL IN ONE, so you should not worry about looking a certain Grand Master to add a subclass, all are here. It has a small settings section within the script that you can see bellow. I will explain only some of them the rest are easy to understand. Imagine that you don't want that the users have to do a quest to qualify for a subclass, but you don't like to be so easy like just talking to the npc. Then you can select the option ALLOW_REQ_ITEMS = True and select a necessary item ITEM_REQ =? and the a-beep-t of them ITEM_A-beep-T =? in exchange for adding a subclass, but remember that you have to set AltSubClassWithoutQuests = False in your server config, otherwise the user may add subclasses with another Grand Master, without giving in return an item. If you put false this option the user may add subclasses without giving anything :) #------------------------------------------------------------------------------------------------------------------------------------- # SETTINGS #------------------------------------------------------------------------------------------------------------------------------------- ############################## GM_RELOAD_PANEL = True ############################## GM_ACCESS_LEVEL = 127 ############################## ALLOW_REQ_ITEMS = True ############################## ITEM_REQ = 3483 ############################## ITEM_A-beep-T = 500 ############################## ALLOW_VIP = False ############################## VIP_ACCESS_LEVEL = 1 ############################## ALLOW_KARMA_PLAYER = False ############################## TIME_OUT = True ############################## BLOCK_TIME = 10 ############################## Picture Link: Freya-H5 Link: G.Final-Epilogue Link: Interlude Credits: Me ;) This Npc was tested on L2jServer Gracia Final, Gracia Epilogue and Freya H5 successfully. if you liked this share, thanks is a very good answer. Enjoy it 8)
-
The reason for this post is to report a problem that can seriously affect the performance of your servers. Some of you maybe have not noticed, ought not to have many people using the buffer at the same time, but in my case 1 week ago, I had two total freezes when the whole server (500-700 players) attempted use the bufer after an event ;D. But I found something, a person is enough to knock over a server, with many people. Looks this code in script both original rin4a's buffer and my version have a problem, but is easy to fix. as you can see in these lines of code, is open a connection to the database but is never closed, every time a user attempted to remove a buff of his scheme, open a new connection that was never closed causing a total server freeze. if event == "remove_buff" : event = eventParam1.split("_") scheme = event[0] skill = event[1] level = event[2] con=L2DatabaseFactory.getInstance().getConnection() rem=con.prepareStatement("DELETE FROM buffer_scheme_contents WHERE scheme_id=? AND skill_id=? AND skill_level=? LIMIT 1") rem.setString(1, scheme) rem.setString(2, skill) rem.setString(3, level) try : rem.executeUpdate() except : pass to fix the problem only adds to what I show below :). thats all! if event == "remove_buff" : event = eventParam1.split("_") scheme = event[0] skill = event[1] level = event[2] con=L2DatabaseFactory.getInstance().getConnection() rem=con.prepareStatement("DELETE FROM buffer_scheme_contents WHERE scheme_id=? AND skill_id=? AND skill_level=? LIMIT 1") rem.setString(1, scheme) rem.setString(2, skill) rem.setString(3, level) try : rem.executeUpdate() rem.close() # <------------ADD---------- con.close() # <------------ADD---------- except : pass After this modification, the performance of my server increase substantially (not more freezing, less lagg). PD: I would recommend that only allow certain people to use the buffer for servers with more than 100 users (Use the VIP Option, i used and everything is fine).
-
[SHARE] Gracia Final AIO NPC.
Allengc replied to dhm.msd's topic in Server Development Discussion [L2J]
I can take a gmshop or a Gatkeeper and make modification and share it, this is easy, and i can even say "credits: me and xxx for basic npc". but this is not the case. You replaced all script code with your credit only for some new lines pffff. everything say your name PvP/PK Top List, Clan & Alliance, Subclass Master, Class Master, Warehouse, Symbol Maker, etc and these scripts are not yours omg. I will show you what mean respect credits, take a look http://www.maxcheaters.com/forum/index.php?topic=81803.0. This is the Rin4a's buffer, i really did big modifications in this npc, not some lines, and what i put in credits? llol. Beside if you take a look in script code you will never find my name just Rin4a, why? because for most that I have made many changes, this code will never be mine and I have to respect that. PD: I will wait a feed back from some tester, i am absolutly sure these modifications don't work properly or not in the last datapack of gracia final or epilogue. -
[SHARE] Gracia Final AIO NPC.
Allengc replied to dhm.msd's topic in Server Development Discussion [L2J]
omg, what are you talking about :S. this script is a older version from my npc, you just change the quest id and added shortcuts to the following modifications, thats all if event == "getinfo1": return "GmShop.htm" if event == "getinfo2": return "gatekeeper/Gatekeeper.htm" if event == "getinfo3": return "gmteam.htm" this is a really basic modification, the rest of the script is all mine and is not basic and you just take of my credits from it. make credits from gm shop, gk and a simple gmteam.html, but not for my script >:(. By the way, did you test this modification at least ? or just pasted npc from another ppl? sql say this npc is L2Warehouse and u added a gatekeeper (I'm almost certain it's not yours either) that need L2Teleporter class, this won't work, u have to make a custom gk, or say bye bye to warehouse option (warehouse dont work with L2Teleporter class). Beside u didnt add npc id in these shortcuts, gmshop and gk won't work (npc_%objectId%_Chat) if u dont replace %objectId% for npc object id. This really disappoints me, I share the NPC and the only thing I ask in return is to respect the credits. cya and good luck fixing these problems. -
Hi :) guys. A long time since my last update, Well, I bring here, the epilogue update of my npc and some more things, check the first post, and thanks for every comments, i hope you like 8). Updated to Gracia Epilogue. I will now only support epilogue client. Added new option "AllowDElfvsElfSubs" check settings within the script. Added new option "RestartDelay" check settings within the script. Really important option to avoid some buggers players. Added skill exceptions for Certification skills. Delete some lines of code and Queries unnecessarily and remake some codes too, for improving the performance of NPC.
-
[Share] AIO NPC for Gracia CT2.4 (By Allen)
Allengc replied to 007florin's topic in Server Shares & Files [L2J]
No Problem :), thanks for sharing, but well, I've been working on improving the efficiency of the script, basically eliminating the consultations with the database. besides some updates with some Buggs. i will post new changes soon (gracia and epilogue). -
yup, u need edit the sql, just add more variables to the sql for example this is the original sql. CREATE TABLE `subclass_list` ( `player_id` varchar(40) NOT NULL, `currentsub` int(3) NOT NULL DEFAULT '0', `sub_index` int(3) NOT NULL DEFAULT '0', `subclassid0` int(3) NOT NULL DEFAULT '-1', `subclassid1` int(3) NOT NULL DEFAULT '-1', `subclassid2` int(3) NOT NULL DEFAULT '-1', `subclassid3` int(3) NOT NULL DEFAULT '-1' ) ENGINE=MyISAM DEFAULT CHARSET=latin1; for 6 subclass u need change this, save and add to the DB again CREATE TABLE `subclass_list` ( `player_id` varchar(40) NOT NULL, `currentsub` int(3) NOT NULL DEFAULT '0', `sub_index` int(3) NOT NULL DEFAULT '0', `subclassid0` int(3) NOT NULL DEFAULT '-1', `subclassid1` int(3) NOT NULL DEFAULT '-1', `subclassid2` int(3) NOT NULL DEFAULT '-1', `subclassid3` int(3) NOT NULL DEFAULT '-1', `subclassid4` int(3) NOT NULL DEFAULT '-1', `subclassid5` int(3) NOT NULL DEFAULT '-1', `subclassid6` int(3) NOT NULL DEFAULT '-1' ) ENGINE=MyISAM DEFAULT CHARSET=latin1; also u need edit this into script section maxsubsindb = 6 SubsNumber = 6 Thats all. Good luck ;)
-
Go gameserver\data\stats\skills and change the buff time 1 by 1 or get this software shared by NEO http://www.maxcheaters.com/forum/index.php?topic=83002.msg637418;topicseen#msg637418 copy and paste this sofware inside gameserver\data\stats\skills. run the software and paste this list. add the time in seconds that u want (3600 = 1 hour) and proceed. This is the r1n4a's buffer buffs list. Buff 1085 1304 1087 1354 1062 1243 1045 1048 1397 1078 1242 1353 1352 1059 1077 1240 1086 1392 1043 1032 1036 1035 1068 1044 1033 1259 1040 1393 1268 1303 1204 1047 1460 1257 1182 1189 1191 1311 1307 1410 1413 1363 1388 1389 1356 1355 1357 1416 1457 1323 1007 1009 1006 1002 1251 1252 1253 1284 1310 1309 1308 1362 summon 4699 4700 4702 4703 dance/song 271 272 273 274 275 276 277 307 309 310 311 266 365 264 265 267 268 269 270 304 305 306 308 363 364 349 529 530 764 914 915 1542 overlord 1003 1004 1005 1008 1249 1250 1260 1261 1282 1364 1365 1414 1415 1416 warcryer 1002 1007 1006 1009 1251 1252 1253 1284 1308 1309 1310 1362 1390 1391 1461 Improve buff 1499 1500 1501 1502 1503 1504 1517 1518 1519 1534 1535 1536 1537 1538 warsmith 825 826 827 828 829 830 kamael 834 1442 1443 1444 or try with this i had never tried ^^ SkillDurationList=1085,3600;1304,3600;1087,3600;1354,3600;1062,3600;1243,3600;1045,3600;1048,3600;1397,3600;1078,3600;1242,3600;1353,3600;1352,3600;1059,3600;1077,3600;1240,3600;1086,3600;1392,3600;1043,3600;1032,3600;1036,3600;1035,3600;1068,3600;1044,3600;1033,3600;1259,3600;1040,3600;1393,3600;1268,3600;1303,3600;1204,3600;1047,3600;1460,3600;1257,3600;1182,3600;1189,3600;1191,3600;1311,3600;1307,3600;1410,3600;4699,3600;4700,3600;4702,3600;4703,3600;1413,3600;1363,3600;1388,3600;1389,3600;1356,3600;1355,3600;1357,3600;1416,3600;1457,3600;1323,3600;1007,3600;1009,3600;1006,3600;1002,3600;1251,3600;1252,3600;1253,3600;1284,3600;1310,3600;1309,3600;1308,3600;1362,3600;271,3600;272,3600;273,3600;274,3600;275,3600;276,3600;277,3600;307,3600;309,3600;310,3600;311,3600;266,3600;365,3600;264,3600;265,3600;267,3600;268,3600;269,3600;270,3600;304,3600;305,3600;306,3600;308,3600;363,3600;364,3600;349,3600;529,3600;530,3600;764,3600;914,3600;915,3600;1542,3600;1003,3600;1004,3600;1005,3600;1008,3600;1249,3600;1250,3600;1260,3600;1261,3600;1282,3600;1364,3600;1365,3600;1414,3600;1415,3600;1416,3600;1002,3600;1007,3600;1006,3600;1009,3600;1251,3600;1252,3600;1253,3600;1284,3600;1308,3600;1309,3600;1310,3600;1362,3600;1390,3600;1391,3600;1461,3600;1499,3600;1500,3600;1501,3600;1502,3600;1503,3600;1504,3600;1517,3600;1518,3600;1519,3600;1534,3600;1535,3600;1536,3600;1537,3600;1538,3600;825,3600;826,3600;827,3600;828,3600;829,3600;830,3600;834,3600;1442,3600;1443,3600;1444;3600
-
Hello everybody, hi Rin4a :), well i made some change i hope u like. check picture and new link at first post. basically i deleted some functions from npc like Change Configuration botton. each time u pressed any botton it was reading from DB 35 options (getVar() at onAdvEvent). Now u cant edit somethings like before with that option, now u need edit them into script at the setting section, but reload this change is easier with the new reload script botton that i added. I think this changes reduce lag. TITLE_NAME = "Rin4a's Buffer" SCRIPT_RELOAD = True ENABLE_VIP_BUFFER = False VIP_ACCESS_LEVEL = 1 ENABLE_BUFF_SECTION = True ENABLE_SCHEME_SYSTEM = True ENABLE_HEAL = True ENABLE_BUFFS = True ENABLE_RESIST = True ENABLE_SONGS = True ENABLE_DANCES = True ENABLE_CHANTS = False ENABLE_OTHERS = True ENABLE_SPECIAL = True ENABLE_CUBIC = True ENABLE_BUFF_REMOVE = True ENABLE_BUFF_SET = True BUFF_WITH_KARMA = False FREE_BUFFS = False TIME_OUT = True TIME_OUT_TIME = 10 MIN_LEVEL = 20 BUFF_REMOVE_PRICE = 100000 HEAL_PRICE = 1000000 BUFF_PRICE = 100000 RESIST_PRICE = 100000 SONG_PRICE = 100000 DANCE_PRICE = 100000 CHANT_PRICE = 100000 OTHERS_PRICE = 1000000 SPECIAL_PRICE = 1000000 CUBIC_PRICE = 1000000 BUFF_SET_PRICE = 10000000 SCHEME_BUFF_PRICE = 10000000 SCHEMES_PER_PLAYER = 4 CONSUMABLE_ID = 57 MAX_SCHEME_BUFFS = Config.BUFFS_MAX_AMOUNT MAX_SCHEME_DANCES = Config.DANCES_MAX_AMOUNT Added cubic skills, heal option for pet feed and summon remaining time, remake VIP option, deleted some script line from older version not used, new change at htmls (more work space ^^), i reduce some queries to get alittle best performance, i made another things but u need test it. Thanx Rin4a for this amazine buffer i really like it.
-
New updates check the first post. Added new option "AllowMultiSubs". True allows add stackable subclasses in every original game subclass (Mainclass and every retails). False, allows add stackable subclasses in only one original game subclass. Fixed problems with skills enchanted. Every enchanted skills, were lost when using any option from the NPC. Fixed problems with Gracia Final skills. Every skills were not inside the table skill_trees, were deleted every time you used the NPC. So i added new table named subclass_skill_exceptions. here you will find all new gracia Final skills. The NPC uses this table to read all those skills that should not be deleted when using any of these options. besides you can add another skills that don't want to be lost when you delete a subclass. Thanx everybody for comments :)
-
do you mean a original game subclass AIO? well actually i am working in a AIO NPC, that mean wh, subclass master (AIO Original game subclass), class master, symbol maker, clan and ally, skill enchanter, aumented, ....etc. soon i will post it. i just was makin a pvp/pk list with no limit in page and fixing some problems.
