Jump to content

Yommy

Community Contributors
  • Content Count

    290
  • Joined

  • Last visited

  • Days Won

    29

Everything posted by Yommy

  1. its stupid to think gravity made these files by hand, they probably have some tool that outputs the navigation files based on there own npc folder. i suggest an @command to build the navigation files from a running Hercules, so it can loop every npc and calculate distance tables. if you need the format of any of the lua just ask
  2. Supposed hard drive fail. Admin said will be back online shortly
  3. Yommy

    Job Names

    xmas and summer are not classes, just options
  4. its already there Hercules / conf / import / battle_conf.txt
  5. +ACMD_FUNC(maintenance) {i think Hercules uses just ACMD
  6. Yommy

    @loginexit

    would be a good plugin, that could be documented too
  7. You are awesome Will there be official hercules plugin releases? And a forum for them.
  8. now my mounts are working perfect awesomesaurus
  9. http://herc.ws/wiki/Clientinfo.xml not sure if case sensitive values, but i use lowercase
  10. change your servertype to primary we are using main client, not sakray
  11. Yommy

    Yommy

    you guys are awesome <3
  12. the other day i watched 'the girl who leapt through time' on netflix, was awesome
  13. oh, that 아이템 비교 = Item Compare BEC6C0CCC5DB20BAF1B1B3
  14. http://pastebin.com/raw.php?i=gkvqSZ7q message table from 2013-03-20 ragexe
  15. Yommy

    Yommy

    Hello, I am Yommy
  16. except if your password has a space character the password should be sent as md5 hash, otherwise it is transmitted over the internet in plain text, and also in the tasklist as params
  17. http://pastebin.ca/raw/2357875 Hercules should use official packet names where possible
  18. wah Ind, your method is wrong //----------------------------------------// Function to send char slot counts//----------------------------------------int hc_accept_enter2(int fd, struct char_session_data* sd) WFIFOW(fd,0) = 0x82d; WFIFOW(fd,2) = 0x1d; // packet len 29 WFIFOB(fd,4) = sd->char_slots;; // Normal slots. WFIFOB(fd,5) = 0; // Premium slots. WFIFOB(fd,6) = 0; // Billing slots. WFIFOB(fd,7) = sd->char_slots; // Producible?? WFIFOB(fd,8) = sd->char_slots; // valid ?? memset(WFIFOP(fd,9), 0, 20); // trash bytes WFIFOSET(fd,29); return 0;}// Tell client how many pages, kRO sends 17void hc_charlist_notify( int fd, struct char_session_data* sd ){ WFIFOHEAD(fd, 6); WFIFOW(fd, 0) = 0x9a0; WFIFOL(fd, 2) = 1; // pages to req / send them all in 1 until mmo_chars_fromsql can split them up WFIFOSET(fd,6);}// HC_ACK_CHARINFO_PER_PAGEvoid hc_ack_charinfo_per_page( int fd, struct char_session_data* sd ){ int j = 4; WFIFOHEAD(fd, 6); WFIFOW(fd, 0) = 0x99d; j+=mmo_chars_fromsql(sd, WFIFOP(fd,j)); WFIFOW(fd,2) = j; // packet len WFIFOSET(fd,j);} i did some captures on kRO several days ago, to verify the packet order, and it goes like so. HC = cHarserver -> Client CH = Client -> cHarserver PACKET_HC_ACCEPT_ENTER2 = 0x82d // tell how many slots PACKET_HC_CHARLIST_NOTIFY = 0x9a0 // tell client how many pages of chars //client then sends one for each value you sent in 0x9a0 PACKET_CH_CHARLIST_REQ = 0x9a1 PACKET_HC_ACK_CHARINFO_PER_PAGE = 0x99d, // 3 chars PACKET_CH_CHARLIST_REQ = 0x9a1 PACKET_HC_ACK_CHARINFO_PER_PAGE = 0x99d, // 3 chars PACKET_CH_CHARLIST_REQ = 0x9a1 PACKET_HC_ACK_CHARINFO_PER_PAGE = 0x99d, // 3 chars etc .. but you can skip this and just send PACKET_HC_ACCEPT_ENTER2 = 0x82d PACKET_HC_ACCEPT_ENTER = 0x6b
  19. anyone who is testing this. i remember in my server was some bugs, like purchasing items to make the cashpoints go over int limit caused the items for free. or using a negative value in free cash. just some wisdom <3
  20. http://imageshack.us/a/img4/3324/particle.png i found this inside the client using resourcehacker. but no idea how to make it open
  21. @Mysterious - lines and space are not some rare commodity that are running out and need to be saved, simplicity shoud be more important @Beret , @Ind - very good idea, but i would suggest like cash_shop { cat_0 { // New category Pr_Reset_Stone_Box,79; Fire_Type_Scroll,79; } cat_1 { // Popular category etc; etc; }} remove the hardcoded category names, servers should edit the images to create there own category setup @Arzzae - i only gave Ind the related packet structures, i doubt this cash shop is what players look for in a server. @reloadcashshop is a good idea though also, i would suggest you use the item_name instead of itemid, it makes it so much more readable when editing your shop unless you know every itemid in your head, or comment them <3
×
×
  • Create New...

Important Information

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