-
Posts
416 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by xXObanXx
-
-
Problem solved... i was have to place a code on L2NpcAction.java
problem solved.. lock it please and thank you for your help..I really appreciate it! :)
-
Can you pastebin it, I don't want to dl another thing.
Here you are:
P.S. i saw that i didn't placed a code on L2NpcAction (handlers.actionhandlers).
so i paste this code there but nothing happened.. :(
else if (((L2Npc) target)._isEventMobRaid) { Raid.showEventHtml(activeChar, String.valueOf(target.getObjectId())); }
-
Dude, this feature is made for h5, while I was talking about adapt to different chronicles
i said this feature already exist on H5... read better my post...
-
What client is this ?
Im refering to < Freya servers
H5 Client..!
-
crash ? no, it will just ignore it, and its not possible without client source
don't know.. when i was going to test it 2 days ago, i just enabled it, the pop-up appears and i just put the code in 2 fields that were needed.. but.. when i as pressing Confirm the client was crashing with this error
General protection fault! History: UObject::execArrayElement <- (CharacterPasswordWnd Transient.CharacterPasswordWnd @ Function Interface.CharacterPasswordWnd.tryPasswordCheck : 0076) <- UObject::ProcessEvent <- (CharacterPasswordWnd Transient.CharacterPasswordWnd, Function Interface.CharacterPasswordWnd.OnClickButton) <- NCButton::OnClickButton <- NCButton::OnLButtonUp <- NCVirtualWndMain::PassToFocusedWindow <- NCVirtualWndMain::DispatchWndMsg <- NConsoleWnd::DispatchWndMsg <- NConsoleWnd::MasterConsoleEventProcess <- UEngine::InputEvent <- UWindowsViewport::CauseInputEvent <- UWindowsViewport::UpdateInput <- UViewport::ReadInput <- APlayerController::Tick <- ALineagePlayerController::Tick <- TickAllActors <- ULevel::Tick <- (NetMode=0) <- UMasterLevel::Tick <- TickLevel <- UGameEngine::Tick <- UpdateWorld <- MainLoop
-
this system already exist by default on H5 unstable (don't know if it's on stable too). Go to configs on security and enable it
P.S. propably your client will crash... i think need some configurations from client side to work!
-
:/
stop spam..!
Can you check please your console you should get an error.
no... no erros in console!!
-
hmm... I have no clue... the code is so large to look it carefully Q_Q but do you see the html that appears when the npc hasn't html? "This npc has not any Quest" or something like that, I don't remember... or u just talk to it and nothing happens?
i just talk to it and nothing happens.. but the cursor for dialog is appearing like i can talk to this npc.. but when i'm pressing it, the pop-up doesn't appear!
-
Strange... all seems ok.. your npc is L2Npc or another type?
l2 Npc.. i'm using the same for ctf, tvt etc.
-
And did you add it correctly?
private int _isSpoiledBy = 0; @@ -1102,9 +1103,9 @@ // Open a chat window on client with the text of the L2NpcInstance if (isEventMob) - { L2Event.showEventHtml(player, String.valueOf(getObjectId())); - } + else if (_isEventMobRaid) + Raid.showEventHtml(player, String.valueOf(getObjectId())); else { Quest[] qlsa = getTemplate().getEventQuests(Quest.QuestEventType.QUEST_START);
And the event is spawning the npc or are you spawning it?of course the event.. it will getting bored to spawn it by my own...
and... where am i putting this code? in Raid.java?
Edit: i found the location (L2Npc) and yes.. it's already placed there!
-
-
-
As Andre and xdem said you have to edit systring-e.dat, but the 134 line instead 469 (wich is related with adena aswell).
Yeah!! i've tested it and it's ok! thank you! Lock the topic!
-
-
Hello guys!
so I've got a raid event from l2jserver forum
so the problem is.. i'm starting the event and i'm gonna join on the event from the npc but... the npc doesn't showing any html message when i'm pressing on npc..!
the html code is inside Raid.java!!
any idea?! :D
-
clientPackets? readAdena //not
Its not, check sysstring.dat
i've changed it on systring-e.dat on line 469 but didn't worked!
-
About name: Open itemname-e with fileedit and go to id 57 and change name from "adena" to anything you want.
About icon: Open etcitemgrp with fileedit then go and replace that icon.etc_adena_i00 with your icon.
you didn't understand..!
i mean how to change this:
-
You mean the icon and the name ?
yeah the name and if is possible and the icon of the coin too!
-
Hello guys...
so on my server i've changed the default currency of private stores with a custom one..!
so now i need to help me how to change the "Adena" (as currency) to the custom one..!
I will appreciate your help! :)
-
so if noone else want to reply something... lock the topic! problem fixed! :D
-
No, revert anything you did. Bad client xyz is a rare phenomena, you will make the things worse... You can't fix it with simple changes, you think that L2J developers let it that way because the where nubs?
no but... i fixed my problems i was have..!
and i don't have any error or bug until now.. :/
-
I think it can be java side if you have not geodata, but with geodata enabled it could be solved through it. But I'm not sure, never played with these things :poker face:
actually the code that i modified is for geodata.. ;)
if ((Config.GEODATA > 0) && ((diffSq > 250000) || (Math.abs(dz) > 200))) { // if ((_z - activeChar.getClientZ()) < 200 && Math.abs(activeChar.getLastServerPosition().getZ()-realZ) > 70) if (((Math.abs(dx) > 200) && (Math.abs(dx) < 1500) && (Math.abs(_x - activeChar.getClientX()) < 800)) && ((Math.abs(dy) > 200) && (Math.abs(dy) < 1500) && (Math.abs(_y - activeChar.getClientY()) < 800)) && ((Math.abs(dz) > 200) && (Math.abs(dz) < 1500) && (Math.abs(_z - activeChar.getClientZ()) < 800))) { activeChar.setXYZ(_x, _y, _z); realX = _x; realY = _y; realZ = _z; } else { if (Config.DEVELOPER) { _log.info(activeChar.getName() + ": Synchronizing position Server --> Client"); } activeChar.sendPacket(new ValidateLocation(activeChar)); } }
I think the problem solved! what do you think? :)
-
You just need a proper geodata to solve that problems...
edit. the heading is the rotation of your char, if I'm not wrong.
i have geodata and pathnodes 1 month now... and never disappointed.. i think my geodata is good... (i know is not the best.. but is good enough for now)
and as i've seen... the problem solved with this:
- if (((Math.abs(dz) > 200) && (Math.abs(dz) < 1500) && (Math.abs(_z - activeChar.getClientZ()) < 800)) + if (((Math.abs(dx) > 200) && (Math.abs(dx) < 1500) && (Math.abs(_x - activeChar.getClientX()) < 800)) && ((Math.abs(dy) > 200) && (Math.abs(dy) < 1500) && (Math.abs(_y - activeChar.getClientY()) < 800)) && ((Math.abs(dz) > 200) && (Math.abs(dz) < 1500) && (Math.abs(_z - activeChar.getClientZ()) < 800))) { - activeChar.setXYZ(realX, realY, _z); + activeChar.setXYZ(_x, _y, _z); + realX = _x; + realY = _y; realZ = _z; }
so i think is not geodata's side but development's side..! ;)
-
Which is the point of trying to synch this thing?
first before changing the last code i placed above the player was looking to giran temple for example and the other player was looking the player to see from the other side..!
second and important thing that i THINK will get fixed is on attack... what i mean?
a player is hitting a mob.. and start running... the mob is hunting him.. then an other player is hunting the mob.. the melee attack range is 40 but the player after every attack starting and hitting from far distance more than 40 range..! cause of server and client are not synchronized on this side! ;)
and third may be some bugs by stucking on walls etc. i think this will fix the second and the third thing (first tested and working as it should be) ;)
Edit: the second thing tested and working well as it supposed to do!!) :D
Pin Code For H5
in Server Shares & Files [L2J]
Posted
nop?!! is just a password for the character! nothing more..!