Jhon Edisson Muñoz Posted November 30, 2018 Report Share Posted November 30, 2018 Hola..necesito ayuda..cuando mato mobs en cualquier mapa, lo que dropean no desaparece hasta q le doy reboot al server..si alguien me pudiera ayudar por favor... donde configuro el tiempo que deberian permanecer en el suelo los item...gracias Link to comment Share on other sites More sharing options...
colcrt Posted November 30, 2018 Report Share Posted November 30, 2018 eso es por source si mal no recuerdo Link to comment Share on other sites More sharing options...
Jhon Edisson Muñoz Posted December 1, 2018 Author Report Share Posted December 1, 2018 Gracias bro..pero estos files q uso y el cliente no usan source por lo q veo.... no se donde buscar...estoy mas perdido q sapo en tomatera con este tema..xD Link to comment Share on other sites More sharing options...
MegaMan2 Posted December 1, 2018 Report Share Posted December 1, 2018 sin souurce no creo que lo puedas arreglar. tendrás que cambiar de files o bien conseguirte el source. Link to comment Share on other sites More sharing options...
Jhon Edisson Muñoz Posted December 2, 2018 Author Report Share Posted December 2, 2018 Gracias bro..y si logro encontrar el source en q parte debo modificar..gracias Link to comment Share on other sites More sharing options...
colcrt Posted December 2, 2018 Report Share Posted December 2, 2018 fuente -> Debes iniciar sesión para ver el contenido del enlace en esta publicación. 1)Drop time The drop time is calculated in seconds, so we write it seconds. Way 1) Open item.h and search for the event void StartDestroyEvent(int iSec=300); and simple we change it to 120(2 minutes). Way 2) You can modify the function to calcute minutes to seconds it's pretty easy just go to file item.cpp and go to the event: void CItem::StartDestroyEvent(int iSec) find this: SetDestroyEvent(event_create(item_destroy_event, info, PASSES_PER_SEC(iSec))); and replace with this: SetDestroyEvent(event_create(item_destroy_event, info, PASSES_PER_SEC(60*iSec))); if you did this you need to make some changes in char_item.cpp find this: item->StartDestroyEvent(150); and replace to this: item->StartDestroyEvent(2); after that find this: item->StartDestroyEvent(60); and replace to this: item->StartDestroyEvent(1); 2)Shop Prices To change the kingdom prices (if you are blue and go to buy something from red your price will be *3). Open shop.cpp and find this line: pack2.items[i].price = item.price * iPriceLift and replace the iPriceLift with what ever number you want after that open shopEx.cpp and search for: dwPrice *= 3; and replace the 3 with what ever number you want finally search the pack_tab.items[i].price = shop_tab.items[i].price * 3; and replace the 3 with what ever number you want 3)Skillbook time In the file char_item.cpp Find this: SetSkillNextReadTime(dwSkillVnum, get_global_time() + iReadDelay) Change the iReadDelay to 5 for example and you can read books every 5 seconds If I have free time I will add more things about Source code modification Jhon Edisson Muñoz 1 Link to comment Share on other sites More sharing options...
Recommended Posts