Jump to content

Hyu

Inactive Member
  • Posts

    20
  • Joined

  • Last visited

  • Feedback

    0%

About Hyu

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Hyu's Achievements

Contributor

Contributor (5/16)

  • Collaborator Rare
  • Dedicated
  • One Year In
  • One Month Later
  • Week One Done

Recent Badges

3

Reputation

  1. What's the backstory for this map?
  2. This wasn't enough for me. 1. Move soulbided item in storage. 2. Close the storage. 3 Reopen the storage and move the item back into the inventory. Now soulbind is gone.
  3. Can't edit my own post but I found the issue in my code. I placed the code wrongly in void CSlotWindow::OnRender(). Make sure to follow carefully where it says to place after `if (IS_SET(rSlot.dwState, SLOT_STATE_DISABLE))` in `PythonSlotWindow.cpp`
  4. subquest_30.quest causes core dump on completion state __COMPLETE__ begin when enter begin end end Fix: state __COMPLETE__ begin when enter begin q.done() end end
  5. Not related to the same server files, but same issue. GetMoveMotionSpeed: cannot find motion (name Nakajima race 20364 mode 0) This is a strange one. In the client `npclist.txt` we have 20364 naoki In the `mob_names.txt`: 20364 Nakajima In mob_proto.txt: 20364 ³ªÄ«Ýö¸¶ KNIGHT NPC MELEE 70 0 STUN,SLOW,CURSE,TERROR 0 2 0 0 0 0 0 0 3954 3 1 0 0 562 79 100 100 0 2000 150 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 And there are the files in server `share\data\monster\naoki\motlist.txt` and client `\pack\yw_npc2\ymir work\npc2\naoki\motlist.txt` with identical contents GENERAL WAIT 00.msa 100 GENERAL WALK 02.msa 100 GENERAL RUN 03.msa 34 GENERAL RUN1 03_1.msa 33 GENERAL RUN2 03_2.msa 33 GENERAL FRONT_DEAD 31.msa 100 So what could be causing the issue?
  6. Is it paid only?
  7. input_main.cpp:2997:26: warning: result of comparison of constant 'ITEM_SKILLBOOK' (17) with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare] 2997 | if (!pItem->GetType() == ITEM_SKILLBOOK) Maybe if (pItem->GetType() != ITEM_SKILLBOOK)
  8. On a Martysama 5.8 client this doesn't work. Code compiles, there are no system errors both on client and server. I added logs to see if any items are getting marked as "Unusable" and they are but there is no visual effect at all. 0518 23:37:04932 :: [DEBUG] SetUsableSlotOnTopWnd called for slot 1 0518 23:37:04932 :: [DEBUG] SetUnusableSlotOnTopWnd called for slot 2 0518 23:37:04932 :: [DEBUG] SetUsableSlotOnTopWnd called for slot 3 0518 23:37:04932 :: [DEBUG] SetUsableSlotOnTopWnd called for slot 4 0518 23:37:04932 :: [DEBUG] SetUnusableSlotOnTopWnd called for slot 5 #ifdef WJ_ENABLE_TRADABLE_ICON void CSlotWindow::SetCanMouseEventSlot(DWORD dwIndex) { TSlot* pSlot; if (!GetSlotPointer(dwIndex, &pSlot)) { sys_err("[DEBUG] SetCanMouseEventSlot(%u) failed: invalid slot pointer\n", dwIndex); return; } sys_err("[DEBUG] SetCanMouseEventSlot called for slot %u\n", dwIndex); REMOVE_BIT(pSlot->dwState, SLOT_STATE_CANT_MOUSE_EVENT); } void CSlotWindow::SetCantMouseEventSlot(DWORD dwIndex) { TSlot* pSlot; if (!GetSlotPointer(dwIndex, &pSlot)) { sys_err("[DEBUG] SetCantMouseEventSlot(%u) failed: invalid slot pointer\n", dwIndex); return; } sys_err("[DEBUG] SetCantMouseEventSlot called for slot %u\n", dwIndex); SET_BIT(pSlot->dwState, SLOT_STATE_CANT_MOUSE_EVENT); } void CSlotWindow::SetUsableSlotOnTopWnd(DWORD dwIndex) { TSlot* pSlot; if (!GetSlotPointer(dwIndex, &pSlot)) { sys_err("[DEBUG] SetUsableSlotOnTopWnd(%u) failed: invalid slot pointer\n", dwIndex); return; } sys_err("[DEBUG] SetUsableSlotOnTopWnd called for slot %u\n", dwIndex); REMOVE_BIT(pSlot->dwState, SLOT_STATE_UNUSABLE); } void CSlotWindow::SetUnusableSlotOnTopWnd(DWORD dwIndex) { TSlot* pSlot; if (!GetSlotPointer(dwIndex, &pSlot)) { sys_err("[DEBUG] SetUnusableSlotOnTopWnd(%u) failed: invalid slot pointer\n", dwIndex); return; } sys_err("[DEBUG] SetUnusableSlotOnTopWnd called for slot %u\n", dwIndex); SET_BIT(pSlot->dwState, SLOT_STATE_UNUSABLE); } #endif
  9. It seems that Seon-Hae (20095) is only added to the Jinno map c1, and he's missing from Shinsoo and most likely Chunjo as well.
  10. I'm not able to edit my own post, but I've found a fix. It was an endless while loop. Added wants_items = 1 like in the 2012 version and that fixed it. when 30129.chat.gameforge.event_easter._040_chat with event_easter_2013.get_number_of_eggs() > 0 begin local settings = event_easter_2013.get_settings() local reward_table = event_easter_2013.get_reward_table_for_item() local amount_to_remove = 0 local amount_to_give = 0 local vnum_to_give = 0 local number_of_eggs = event_easter_2013.get_number_of_eggs() local wants_items = 2 while wants_items == 2 do say_title(gameforge.event_easter._020_sayTitle) -- "Osterhase: " vnum_to_give = event_easter_2013.get_random_reward_vnum(reward_table) local amount_needed = event_easter_2013.get_reward_amount_for_vnum(reward_table, vnum_to_give) if amount_needed == 20 then amount_to_remove = 20 amount_to_give = 1 say(gameforge.event_easter._060_say) say(string.format(gameforge.event_easter._065_say, amount_to_remove)) -- "Daf? musst du mir %d Eier geben! M?htest du das tun?" say(string.format(gameforge.event_easter._050_say, amount_to_give)) -- "Ich gebe dir %d hiervon:" say_item_vnum(vnum_to_give) say(gameforge.event_easter._100_say) else if number_of_eggs > 20 then amount_to_remove = 20 else amount_to_remove = number_of_eggs end if vnum_to_give < 27200 then amount_to_give = amount_to_remove * 3 else amount_to_give = amount_to_remove * 5 end say(gameforge.event_easter._060_say) say(string.format(gameforge.event_easter._055_say, event_easter_2013.get_number_of_eggs()) ) say(string.format(gameforge.event_easter._050_say, amount_to_give)) say_item_vnum(vnum_to_give) say(gameforge.event_easter._100_say) end wants_items = 1 end if (remove_item_range(amount_to_remove, settings.eggvnums.first, settings.eggvnums.last)) then pc.give_item2(vnum_to_give, amount_to_give) end say_title(gameforge.event_easter._020_sayTitle) -- "Osterhase: " say(gameforge.event_easter._080_say) -- "Danke f? die Eier, ich hoffe du hast Spa?mit dem was du bekommen hast" say("") if not event_easter_2013.has_rabbit() then -- purge the rabbit if the event has finished npc.purge() end end --when
  11. The event `event_easter_2013.quest` is added to the locale_list by default, but when delivering easter eggs it causes a core dump. I haven't been able to figure out why. To enable the event I've used: /e easter_drop 100 /e easter_rabbit 1
  12. I've been looking at the code and it's not clear to me if `fish_miss_pct` is about the chance of not catching the fish (losing the bait) or about the the probability of what fish you will get, because it is not used in the `Take` function where` FishingFail(ch)` and` FishingSuccess(ch)` are called.
  13. Does this mean that the priv_empire.quest only displays texts but doesn't change the rates at all by itself?
  14. How come these quests were not added to the locale_list? mount_catcher.quest olympic_badge.quest new_easter_gift_box_gf.quest new_christmas_sock.quest new_christmas_nog.quest new_christmas.quest new_christmas_gift_box.quest ingame_message.quest harvest_festival.quest.1 harvest_festival.quest.2 event_mob_invasion.quest event_easter.quest event_easter_2012.quest collect_quest_reset.quest arne_test1.quest arne_test2.quest prototype_challenge.quest prototype_training_fight.quest shop_ride.quest training_mount_v2.quest deviltower_2.quest pricing_lv3.quest pricing_lv12.quest pricing_lv40.quest mount_prolongation.quest x_bernhard.quest xxx_years_greetings.quest xxx_rice_cake_tiger.quest xxx_priv_guild.quest xxx_notify_shopmeeting.quest xxx_monkey_dungeon.quest xxx_monarch.quest xxx_kill_straydog.quest xxx_main_quest_mgr.quest xxx_huanso_deliverdrag.quest xxx_japan_invader_kill.quest xxx_larbor_day.quest xxx_kids_day_quiz.quest user_tracking.quest polymarble_test.quest penetration.quest purge_test.quest
  15. php.ini is not part of the source files ; Enable GD extension extension=gd ; Increase upload limits upload_max_filesize = 50M post_max_size = 50M Instead of modifying php.ini i've added the custom-settings.ini above and registration is working COPY ./custom-settings.ini /usr/local/etc/php/conf.d/
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.