Dan7E2 Posted March 1, 2016 Posted March 1, 2016 For example i go to npc buffer and i see the buffs list and is a long list with scrolldown bar and i go down and click on one buff "for example might" and the html page reload ike it is going again to the start page How i can make it to not reload html page? I hope you understand what i need Quote
0 Szakalaka Posted March 1, 2016 Posted March 1, 2016 Its server side problem, isnt it? The client sends packet with buff and server is responding with the main page Quote
0 Dan7E2 Posted March 1, 2016 Author Posted March 1, 2016 (edited) Its server side problem, isnt it? The client sends packet with buff and server is responding with the main page no man... simply is a npc buffer yes? you click on "buff list" you get 30 buffs on a page with scroll bar you can scroll down and see another 10 buffs yes? I want when you click on the buffs from down, do not go again to the buffs that ware up Perseus server have this kind of buffer, when you click on the buff the html doesnt move to start again Edited March 1, 2016 by Dan7E2 Quote
0 SQL Developer Posted March 1, 2016 Posted March 1, 2016 Edit the init .py Example for you #Wind Walk if event == "7": st.takeItems SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer()) return "2.htm" st.setState(State.COMPLETED) Quote
0 Dan7E2 Posted March 2, 2016 Author Posted March 2, 2016 Edit the init .py Example for you #Wind Walk if event == "7": st.takeItems SkillTable.getInstance().getInfo(1204,2).getEffects(st.getPlayer(),st.getPlayer()) return "2.htm" st.setState(State.COMPLETED) you dont get it, the html doesnt return to initial main.html simply i have to scroll down everytime i click on the buffs from down side... Quote
0 Tryskell Posted March 2, 2016 Posted March 2, 2016 http://www.l2jserver.com/forum/viewtopic.php?f=90&t=23583 Point 1). Quote
0 Dan7E2 Posted March 2, 2016 Author Posted March 2, 2016 <button value="Wind Walk" action="bypass -h npc_%objectId%_getBuff 1204 2" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"> how should i write this code button for not do any action instead give me wind walk buff, not change the html scroll down position ? Quote
0 lsj14 Posted March 23, 2016 Posted March 23, 2016 "bypass -h npc_%objectId%_getBuff 1204 2" Just remove -h and it will work like you wanted. Quote
0 Dan7E2 Posted March 24, 2016 Author Posted March 24, 2016 Just remove -h and it will work like you wanted. i tested and kicked me for illegal action Quote
Question
Dan7E2
For example i go to npc buffer and i see the buffs list and is a long list with scrolldown bar
and i go down and click on one buff "for example might" and the html page reload ike it is going again to the start page
How i can make it to not reload html page?
I hope you understand what i need
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.