Jump to content

Litro

Members
  • Content Count

    365
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Litro

  1. it seem you got wrong lua files for the skills
  2. you're wellcome, glad it work
  3. firstly take a look at the map server when it loading the maps, if it not loaded when it should that will be notice or warning xx map removed, something like that message in the map server screen console 2ndly, check the maps.conf, map_index.txt containt the not loaded map and make sure you have added the not loaded map in map_chace.dat 3rdly, check the not loaded map file if it was corrupted if you have done step above and still getting error, you can upload your not loaded map file here and try asking the help again, from my experience when it loaded 100% but got freezed it likely your client been patched to ignore missing file, may be the model or texture of the not loaded map is missing CMIIW
  4. @@Quazi try this script: http://upaste.me/7bbc2166170cb9962 - shop rental_shop -1,501:50prontera,150,150,4 script Rentals Shop 100,{ callshop "rental_shop", 1; npcshopattach "rental_shop"; end;OnBuyItem: dispbottom "Rentals Shop: You can only buy one item at once."; setarray .@q[0], @bought_nameid[0], @bought_quantity[0]; for (.@i = 0; .@i < getarraysize(.items_list); .@i++) { if (.@q[0] == .items_list[.@i]) { .@q[2] = .price_list[.@i]; } } mes .@npc_name$ = "[Rentals Shop]"; mes "Rental Item: "+getitemname(.@q[0]); mes "Rental Cost: "+.@q[2]+"x "+getitemname(.currency)+" for one day."; mes " "; mes "How many days do you want to rent it ?"; next; if (input(.@day, 1, 365)) { mes .@npc_name$; mes "Invalid input days.."; callsub ClearBought; close; } .@q[3] = .@day * .@q[2]; mes .@npc_name$; mes "Rental Item: "+getitemname(.@q[0]); mes "Rental Cost: "+.@q[3]+"x "+getitemname(.currency)+" for "+.@day+" day"+((.@day > 1) ? "s" : "")+"."; mes " "; mes "Still want to make the rent ?"; next; if (select("Yes:No") == 2) { mes .@npc_name$; mes "All right, "+callfunc("F_Bye"); callsub ClearBought; close; } if (countitem(.currency) < .@q[3]) { mes .@npc_name$; mes "I'm sorry, you haven't enought "+getitemname(.currency)+" to pay the rental"; callsub ClearBought; close; } if (!checkweight(.@q[0], .@q[1])) { mes .@npc_name$; mes "You need more space in your inventory."; callsub ClearBought; close; } delitem .currency, .@q[3]; // delete items rentitem .@q[0], .@day * 86400; // rent an items. 86400 = 1 day in seconds callsub ClearBought; end; ClearBought: deletearray @bought_quantity, getarraysize(@bought_quantity); deletearray @bought_nameid, getarraysize(@bought_nameid); return;OnInit: // Configuration setarray .items_list, 1201, 1201, 1201; // items list that you want to sell. setarray .price_list, 100, 200, 300; // itens price that item you sell in the shop. .currency = 7227; // items that will be used as exchange currency // do not touch from here!! npcshopdelitem "rental_shop", 501; for (.@i = 0; .@i < getarraysize(.items_list); .@i++) npcshopadditem "rental_shop", .items_list[.@i], .price_list[.@i]; end;}
  5. here the litle tips: all those s_xxxx.. annoying warnings in my plugin projects were disabled by me , coz I hate those by Angelmelody
  6. finally EVS is coming in plugin, will tryit thanks mister +1
  7. me too often do this, I'm sorry to whoever I did that to, but I assure you and every one i never have intention to claim other work as mine, even if i like how script written i always try make it optimized in my own need and for personal use, but I always press the green button if i feel good about it
  8. try using dynamic shop u can set the limit
  9. you can use this script http://herc.ws/board/files/file/208-configurable-refiner/
  10. can you add that feature on GRF Editor? i want to have one grf untouched by player
  11. is it possible to prevent opening the encrypted grf that encrypted by GRF Editor with other grf editor (ie: grfbuild, etc), player can merge the file via merge folder or merge grf
  12. try reading this document it have explanation you need https://github.com/HerculesWS/Hercules/blob/master/doc/md5_hashcheck.txt
  13. you can use md5 hash feature to protect your game.exe being tampered
  14. yeah i think that was scam too, take a look in video, he disabled general tab chat and he take the focus on the duplicator while not showing the game screen, i wonder when the duplicating is success the obtained item message will show up or not. since you can confirm it make the same video and show what the game screen state when dupe is in proggress or after the duplicate is success
  15. for the guild it seem you miss furia the gaia when you wipe the guild database, for another question use screen and for how you can search in this forum, there is guide by sir Dastgir
  16. if im not wrong you can use h*shield they have feature hwid (hardware id) record (like mac addres), since yes mac addres can be spoofed and hwid is mmh i dont know if is that possible to spoofing hwid, even if is a possible measure that to extreem for me, since everyone can get the reward? no?
  17. i try that with like 3day before git it is not working when doing autotrade, the buyer get item and vendor got nothing no zeny no item
  18. the first script provided by @@eKoh thereis nothing to check if player idle or not right ? or maybe i was misunderstood the different of idle and opening chat room to chitchat with other or opening vending without auto trade (although in this state you can still chitchating too) if it was to check idle herc emulator have checkidle() commands, if player opening vending and chat room there will be notice dispbottom to tell them again they need to relog-in to be in effect of script, yeah you right after the first check, timer will stop since i put it in the One Hour bracket condition, I should put it after the closing bracket (Fixed script above), this will fix the two problem for the reloading script i didn't think until there and thanks for the input
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.