HugoBoss

Members
  • Content Count

    54
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by HugoBoss

  1. Hello, Looking for a client developer who can import skills for me from one chronicle to another. PM me your price and a video of your similar work if available.
  2. Hello, i am new to L2 Servers and i wanted to discuss security about html bypasses. So let's take as an example this class change bypass: <a action="bypass -h class_change?class_name=1">Warrior</a> Since this is present on client side, i am thinking that someone could replace the value of class_name to something else and exploit it. So my first questions is; Can someone manipulate the html on the client side? If yes, do you place code on the ai that checks again the response from the client if it is valid? For example let's say that a Human Fighter goes to the class changer. The class changer calculates the available classes based on his current class and presents him three options: <a action="bypass -h class_change?class_name=1">Warrior</a><br> <a action="bypass -h class_change?class_name=4">Knight</a><br> <a action="bypass -h class_change?class_name=7">Rogue</a><br> After the client submits his request to change to Warrior, do you still re-check the validity of that request or take as granted that since you provided him these options in the first place, the response that you get from the client is valid and proceed to perform the class change action without further checks? Thanks, Hugo
  3. Hey @Celestine, Have you had the time to look into the following two? Critical message not showing Cannot move items from pet inventory Thanks!
  4. Hey, well after i restarted the processes everything works. So the spacing was ok. Thank you for your reply!
  5. Very insightful, thank you for taking the time! I will play a little bit with the spacing and report back! Thanks, Hugo
  6. It works that way! Thank you. Can you elaborate a bit on that, why it works that way and the difference between your proposed way and myself.OwnItemCount? Also, it would be better instead of using direct item id in the code, i place a paramter and use that instead, so: if(OwnItemCount(talker, 57) > 0) becomes: if(OwnItemCount(talker, myItemID) > 0) I have also created this parameter section: class myclass : citizen { parameter: int myItemID = 57; } But i get an error that this is an "abnormal" parameter when the NPC reaches that part of the code. Am i not using it correctly? Thanks, Hugo
  7. Hello guys, I want to check through ai if an item exists in the users inventory. I have tried using function: OwnItemCount but i got compilation error: Undefined function. (Using l2shrine compiler shared by Eressea). Below is an example of my code as i am trying to compile it: set_compiler_opt base_event_type(@NTYPE_NPC_EVENT) class default_npc { } class citizen : default_npc { } class myclass : citizen { ... EventHandler MENU_SELECTED( talker, ask, reply) { ... if(myself.OwnItemCount(talker, 57) > 0 ) { //do something } } ... } I have also tried using GlobalObject::OwnItemCount like gg.OwnItemCount but i get the message that gg is an unknown variable.. Do you use some other function for this? If anyone could shed some light on this i'd appreciate it. Thanks, Hugo
  8. Hello, one thing i noticed is that once you place something on the pet's inventory, you cannot take it back. Can you check if it is working for you ? Thanks,
  9. to mono geloio einai pou koroideuete..... ok einai autonoito omws gia kapoious k perissotero gia osous den exoun IDEA apo pc, pou omws goustaroun na anoi3oun server diko tous k na min pane n pe3oun pac-man mporei na einai edelws vasiko...
  10. kala apla mamises! egw porw8ika me to xrwma :p GJ k apo mena ^^
  11. mono l2net exei testarei k leitourgei... oso gia l2walker dn exw prospa8isei na to anoi3w mesw tou l2net... kapou ipirxe ena guide gia to pws na to kaneis... kai exw ena proais8ima oti 8a douleuei...
  12. ok gg to kana einai super ouaou ty agoria
  13. kai 8a apokleisw oles ti pic apo to MxC ?
  14. prwti fora kanw post edw alla einai ELEOS! otan eimai sto MxC forum mou petagetai mia mlkia ( ouf eimai se spam section :p )banner kai mou spaei ta neyra 1on gt mou krivei diafora k 2on gt otan pataw Back den niw8ei k 8elei k 2i fora i 3i.... pff ti xazos tropos na kaneis tous allous na doun auto p 8es.... :/ no offense pada :p
  15. gia ka8e class einai ligo koulo... prepei na to ma8eis monos sou wste na mporeis na ru8mizeis analoga me tis sun8ikes.... oso gia to aggro 8ema p les: pata Home pas Mons Settings katw aristera exei Atk Aggro Mobs i kapws etc to tickareis k ta varaei prin apo ta Passive... ( omws dn 3erw ama douleuei swsta :p ) episis ama den niwsei etsi pas pali Mons Settings kai exei mia mpara pou grafeis. Ekei grapse A K R I V W S to name tou mob pou 8es na varaei prwto, dld o,ti kefalaio exei me kefalaia grapsto klp , kai pata search kai otan to vrei pata panw tou kai tickare apo katw sto Priority-> High. ( alla k auto einai ligo ana3iopisto... ) ^^