Jump to content

mehmetdogan

Member
  • Posts

    4
  • Joined

  • Last visited

About mehmetdogan

Informations

  • Gender
    Male

Recent Profile Visitors

408 profile views

mehmetdogan's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. hi everybody. i have a problem. Boss timer system doesn't show the boss's head. What could be the problem ? http://prntscr.com/o1nial
  2. hello The time is reset when I change the map. I just want to reset when quit or character change. thx DWORD CHARACTER::GetLogonTime(){ return (get_dword_time() - m_dwLogonTime) / 1000 + 0.5; //now - logon_time -> convert ms to sec > convert float to int } void CHARACTER::CheckLogonTime(int time){ if (time / 60 > 180 && !m_iLogonIsRewarded){ ChatPacket(CHAT_TYPE_INFO, LC_TEXT("rewardplaytime.")); //You are won 10M for that 3 hours in the game PointChange(POINT_GOLD, 10000000, false); //10.000.000 DBManager::instance().SendMoneyLog(MONEY_LOG_QUEST, 1, 10000000); m_iLogonIsRewarded = 1; } ChatPacket(CHAT_TYPE_COMMAND, "ClientLogonUpdate %d", time / 60); } EVENTFUNC(logontime_check_event) { char_event_info* info = dynamic_cast<char_event_info*>(event->info); if (info == NULL) { sys_err("logontime_check_event> <Factor> Null pointer"); return 0; } LPCHARACTER ch = info->ch; if (ch == NULL) { // <Factor> return 0; } ch->CheckLogonTime(ch->GetLogonTime()); return PASSES_PER_SEC(60); //1min } void CHARACTER::InitCharLogonEvent(){ if (m_pkLogonEvent) return; if (m_iLogonIsStarted != 1) { ChatPacket(CHAT_TYPE_COMMAND, "ClientLogonStart 0"); m_iLogonIsStarted = 1; } char_event_info* info = AllocEventInfo<char_event_info>(); info->ch = this; m_pkLogonEvent = event_create(logontime_check_event, info, PASSES_PER_SEC(60)); }
  3. networkModule.py(line:209) SetSelectCharacterPhase system.py(line:130) __pack_import system.py(line:110) _process_result introSelect.py(line:30) <module> system.py(line:130) __pack_import system.py(line:110) _process_result interfaceModule.py(line:12) <module> system.py(line:130) __pack_import system.py(line:110) _process_result uiInventory.py(line:23) <module> system.py(line:130) __pack_import system.py(line:110) _process_result interfacemodule.py(line:30) <module> system.py(line:130) __pack_import networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:unexpected indent (uiMiniMap.py, line 458) ???
×
×
  • 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.