-
Posts
144 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Horse
-
Help Custom Npc Name / Change Town Music.
Horse replied to Horse's topic in [Request] Client Dev Help
Thank you. I didn't know they had to be patched. -
Good morning. I would have two questions at hand. First: I made a custom NPC and I wanted to change its title color so I added a new line in npcname-e/npcgrp with its ID. However, for reasons unknown to me it doesn't change the name of the npc, it simply writes "NONameNpc" like there was no such npc with that ID in npcname-e. Yet, if I edit an already existing npcname and use its displayId for the custom npc then i can see the name/title color changed in game but when i hit it i still see NoNameNpc in the chat window. Any idea why is this happening? [sOLVED] Second one: I was thinking of changing some of the music patterns in towns but I don't really know which file is responsible for that. Or could I just replace the already existing oggs.? If so, then my question is with what or how can I open all oggs becuase most of them cannot be played by players supporting ogg format no matter what. Thanks in advance.
-
Well, I did not ask for doing it. All I'm interested in is what exactly responsible for the character weapon animations. As for the textures, even just changing the armgrp.dat of the robes to display as light set on kamael classes can do the trick, but I'm curious about in what other way could it be done.
-
Hello. I've seen a few hi5/freya servers where other races are able to use rapier/crossbow with proper animation. I've also seen that kamaels are able to equip heavy/robe items with proper textures displayed. I assume those servers used the new animatons or textures from god+ clients. But I'm uncertain how or what should I do in order to get proper animations/textures. Could anyone enlighten me on how can I apply such thing to hi5 client?
-
Help Can't Save New Data To The Database.
Horse replied to Horse's question in Request Server Development Help [L2J]
Sorry. I forgot to make a reply. Fixed it. You can lock it Thanks. -
Help Can't Save New Data To The Database.
Horse replied to Horse's question in Request Server Development Help [L2J]
The voiced command. else if (command.equalsIgnoreCase("acctest")) { byte i = activeChar.getAccDisplay(); i = (byte) (i + 1); if (i > 3) i = 0; activeChar.setAccDisplay(i); switch (i) { case 0: activeChar.sendMessage("All acc on."); break; case 1: activeChar.sendMessage("All acc off."); break; case 2: activeChar.sendMessage("hair1 on"); break; case 3: activeChar.sendMessage("hair 2 on"); break; } activeChar.broadcastUserInfo(); return true; } L2PcInstance: private byte _accDisplay = 0; final public byte getAccDisplay() { return _accDisplay; } final public void setAccDisplay(final byte val) { _accDisplay = val; } // Character Character SQL String Definitions: private static final String INSERT_CHARACTER = "INSERT INTO characters (account_name,charId,char_name,level,maxHp,curHp,maxCp,curCp,maxMp,curMp,face,hairStyle,hairColor,sex,exp,sp,karma,fame,pvpkills,pkkills,clanid,race,classid,deletetime,cancraft,title,title_color,accesslevel,online,isin7sdungeon,clan_privs,wantspeace,base_class,newbie,nobless,power_grade,createDate, acchide) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"; private static final String UPDATE_CHARACTER = "UPDATE characters SET level=?,maxHp=?,curHp=?,maxCp=?,curCp=?,maxMp=?,curMp=?,face=?,hairStyle=?,hairColor=?,sex=?,heading=?,x=?,y=?,z=?,exp=?,expBeforeDeath=?,sp=?,karma=?,fame=?,pvpkills=?,pkkills=?,clanid=?,race=?,classid=?,deletetime=?,title=?,title_color=?,accesslevel=?,online=?,isin7sdungeon=?,clan_privs=?,wantspeace=?,base_class=?,onlinetime=?,newbie=?,nobless=?,power_grade=?,subpledge=?,lvl_joined_academy=?,apprentice=?,sponsor=?,clan_join_expiry_time=?,clan_create_expiry_time=?,char_name=?,death_penalty_level=?,bookmarkslot=?,vitality_points=?,language=?,acchide=? WHERE charId=?"; private static final String RESTORE_CHARACTER = "SELECT * FROM characters WHERE charId=?"; player.setOnlineTime(rset.getLong("onlinetime")); player.setNewbie(rset.getInt("newbie")); player.setNoble(rset.getInt("nobless") == 1); player.setAccDisplay(rset.getByte("acchide")); // the new line in L2PcInstance restore ps.setLong(24, getDeleteTimer()); ps.setInt(25, getAccDisplay()); // new line in createDb() ps.setInt(26, hasDwarvenCraft() ? 1 : 0); ps.setString(27, getTitle()); ps.setString(49, getLang()); ps.setInt(50, getObjectId()); ps.setByte(51, _accDisplay); //new line in storeCharBase() ps.execute(); also added `acchide` int(1) NOT NULL default '0', to characters.sql and created a new column in the characters table as acchide. -
Help Can't Save New Data To The Database.
Horse posted a question in Request Server Development Help [L2J]
Hello guys. (Using hi5 latest) I have the following problem. I made a hide/show accessory voiced command similar to L2 Pride's accD. The command works fine in game without any problems. I also added the necessary lines to the createDB, restore, insert_character/ and update_character in L2PcInstance. However, when i use the command in game and hide the accessories and restart, it does not save it to the DB and stays defualt/ 0. If I set the value in the DB manually to (1=hide both hair/hair2 acce) for exemple. then when i log in the chosen value in the DB takes effect. To me it seems it doesn not save the new value to the new column I made in the characters table. My knowladge is quite lacking in sql which i plan to improve ofc^^, but at the moment I'm kinda stucked with this problem. I'd appreciate some help, thanks in advance. -
You re better off editing the magic damage calculation in Formulas.java than just boosting m.atk. It will cause more problems later on.
-
I'm pretty sure she meant the way blowRate is calculated in formulas. Other than that yeah animation problem is most likely caused by wrong cooltime or too fast hitTime can also be a problem.
-
Modding Pride pack itself wouldn't be a problem (except that the gracia final client is not that popular). I mean the src does have some good extra addons and parts that can give you ideas or help you get started with things you are not certain how to code from scratch(lknockback for exemple). Given that you know what you're looking for, of course. The way I see, the problem with pride pack is "pride" itself. No matter how much these pride pack based servers were changed/edited, the changes were only done on the surface. Yes, you got new mobs, different drops a few extra (most of the time fucking immersion breaking) new textures. But the core gameplay (farm-event-farm-event and thats that), almost never finished olympiad ( due to the retarded way skills are boosted in pride packs), the half finished classes, the gameplay mechanics are always the same.. And yes, Crabbed was the shining example. Also, don't get me wrong, but it's clear that most of those who want pride like servers don't even realize that the very fact they get bored of these servers is that they play almost the same server for the 100th time. I'm certain that a few new custom server with decent work behind it could stay alive much longer.
- 240 replies
-
- L2Dest
- L2Destruction
-
(and 3 more)
Tagged with:
-
Help Any Good Suggestions? Itemname-E.dat Bugged?
Horse replied to HyperActive's question in Request Server Development Help [L2J]
It doesn't matter where you place the line of your new item. If you open up any dat you can see that the ids are not in order at all. -
This was a decent answer which I honestly did not expect. Thanks. I'm looking forward to see how it will turn out. Good luck with your project!
- 240 replies
-
- L2Dest
- L2Destruction
-
(and 3 more)
Tagged with:
-
Help Any Good Suggestions? Itemname-E.dat Bugged?
Horse replied to HyperActive's question in Request Server Development Help [L2J]
When do you see the Noitemname? I mean do you see the icon that way in the shop or custom shop, or when you have the item in your inventory? The former is server side so changing the dat. won't help. If the FileEdit saves your file without any errors and the ids are right then it should show the icon,name etc. -
Is it another gracia-final pride pack wrapped in a new costume (like the same half assed classes, skills, etc)? Hope, it's not.
- 240 replies
-
- L2Dest
- L2Destruction
-
(and 3 more)
Tagged with:
-
Help Attribute On A Grade And Below.
Horse replied to Horse's question in Request Server Development Help [L2J]
Anyone who has a clue about this?:( -
Help Healer Hate Base On What?
Horse replied to AccessDenied's question in Request Server Development Help [L2J]
Would you mind sharing what handles the heal aggro? Thanks. -
Help Attribute On A Grade And Below.
Horse posted a question in Request Server Development Help [L2J]
Hi. I'd like to ask if anyone knows, how or where can I change that not only S-grade and above items, but A-grade and below items to show up in the " Attribute item selection window "?. -
Hello. I'd have a problem about skill sounds: I 've been adding various skills to my monsters, raids (both custom and already existing alike). My problem is that when i add a skill which is an already existing skill "USED BY PLAYERS aka by classes) the mobs automatically use the Human Fighter spell casting sound, Now, I know that I could simply remove the human fighter cast sound from the specific skills or clone them and leaving the human fighter sound source blank in the .dat file. But both feels kind of a half assed solutions. So my question is: Is there any way, java file which handles the skill sounds or when i could applay a check or something to avoid monster casting spells with "human Fighter" skill sounds?
-
Help Problem With Zone Type
Horse replied to THeMaxPoweR's question in Request Server Development Help [L2J]
<zone name="primeval_peace1" type="PeaceZone" shape="NPoly" minZ="-4290" maxZ="-1290"> <!-- [20_17] --> <node X="10408" Y="-27395" /> <node X="12065" Y="-25334" /> <node X="12223" Y="-23159" /> <node X="10424" Y="-22340" /> <node X="9566" Y="-23131" /> <node X="9290" Y="-24261" /> </zone> <zone name=" primeval_peace2" type="PeaceZone" shape="NPoly" minZ="-4792" maxZ="208"> <!-- [20_17] --> <node X="4850" Y="-4736" /> <node X="7294" Y="-4712" /> <node X="8529" Y="-820" /> <node X="3615" Y="-737" /> </zone> this is from the high five peace.xml maybe search for "primeval" between the zone files. or the some of the x,y,z cordsi linked. -
Help L2J Sunrise How Change % Enchant Scroll
Horse replied to L2surion's question in Request Server Development Help [L2J]
This actually makes things easier, and gives you a wider range of options to configure the enchant rates of various scroll types, stones. Ofc if you just want another lol,br like pvp server, then ofcourse it sucks. Importing more, and more things to xmls made things much, much easier to edit and change them to your liking. -
Help Problem With Zone Type
Horse replied to THeMaxPoweR's question in Request Server Development Help [L2J]
The zone you're trying to use as pvpzone is used by an other zonetype as well. As mentioned above, check town, peace zone xmls and delete the zone's cordinates from the other xmls. So your zone or zone cordinates wont be overlapped by multiple zone types. -
I was expecting a bit more than another g3-pride copy wrapped up in a new custome. It feels like all the flashy NPCs and the overcolored HTMLs are there to hide the fact that it's another pride-like. I don't see why admins or devs are so fixated on this pride like pack, except that it requires less effort.
-
He copied part of the nobless quest when you kill barakiel. You can delete the subclass check, since you don't need that. for (L2PcInstance plr : getPartyMembers(player, npc, "cond", "4")) this is what you should implent in your quest instead of 2PcInstance partyMember = getRandomPartyMember(player, "1"); or for (L2PcInstance member : player.getParty().getMembers()) not sure if this works in IL tho.
-
in case if it's high five <set name="time" val="X" /> X= amount of time ( minutes).
-
Help My Files Not H5 Part 5
Horse replied to TitanMaster's question in Request Server Development Help [L2J]
Get a newer or the newest rev of l2j, or buy a stable hi5 pack. Your version is obviously out-dated or broken.