avertuss
-
Posts
480 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by avertuss
-
-
-
-
-
-
Should it look like
if (pAttacker->GetVnum() == 12345 && pkVictim->IsNPC()) { iAtk = iAtk*0.1; }
in battle.cpp?
-
-
-
12 godzin temu, Raylee napisał:
Hmm..
Maybe in char.cpp?
// MINING
if (mining::IsVeinOfOre (GetRaceNum()))
{
char_event_info* info = AllocEventInfo<char_event_info>();info->ch = this;
m_pkMiningEvent = event_create(kill_ore_load_event, info, PASSES_PER_SEC(number(7 * 60, 15 * 60)));
}
// END_OF_MINING
I'm not sure
But you can try
Best regards
RayleeIt is destroying the vein after x seconds.
-
Hi. How to block damage to human when player use item with 12345 vnum?
-
-
-
46 minut temu, .T4Ump napisał:
void CPythonPlayer::__SendClickActorPacket(CInstanceBase& rkInstVictim)
s_dwNextTCPTime=dwCurTime+1000;
tryNope, still the same.
-
Hi. Do you know how to cancel mining animation faster? I changed mining time and i'm getting drop but animation is still continue. I tried like that
if (number(1, 100) <= iPct) { OreDrop(ch, load->GetRaceNum()); ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("채광에 성공하였습니다.")); ch->mining_cancel(); ch->ChatPacket(CHAT_TYPE_INFO, "i wanna stop you XD"); } else { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("채광에 실패하였습니다.")); ch->mining_cancel(); ch->ChatPacket(CHAT_TYPE_INFO, "i wanna stop you XD"); }
and it doesn't work.
-
Hi. I have that error: Syntax error in simple statement list
self.1 = self.comp.Button(self.Board, 'Shinsoo', '', 16, 58, self.1_func, 'd:/ymir work/ui/public/large_button_01.sub', 'd:/ymir work/ui/public/large_button_02.sub', 'd:/ymir work/ui/public/large_button_03.sub')
Any ideas?
-
26 minut temu, Syreldar napisał:
Then it's easy, show me how do you spawn them. The code part.
d.set_regen_file("data/dungeon/dungeon_5/regen1.txt") d.regen_file("data/dungeon/dungeon_5/regen_metins.txt")
-
18 godzin temu, Syreldar napisał:
it means the file you use has a group of mobs with the "ma" / "ga" label, which makes the mobs/groups aggressive.
i have
g 122 99 5 5 0 0 9999s 100 1 107
and mobs are aggresive. I have the same group on normal map(not dungeon) and mobs aren't aggresive.
-
-
Hi. Why mobs in dungeons respawned by d.regen_file function are aggresive? How can i delete that?
-
12 godzin temu, Xerneas napisał:
Remove sash. Problem solved.
Funny af
-
7 godzin temu, WeedHex napisał:
i was asking if you implemented it recently?
I don't remember when i implemented sash system. Maybe 8 months ago. I have this bug for a long time. I don't remember when i noticed that.
-
5 minut temu, WeedHex napisał:
Did you implement Sash system recently?
Or HIGHLIGHT_SYSTEM or PROIECTION_SYSTEM?
Ye, i'm using sash system.
-
Hi. I have problem with autopotion effect
When i turn on autoption effect works on all pages. Any ideas?
-
26 minut temu, Den napisał:
You can make a new lua function in source then use it.
int item_is_equipped(lua_State* L) { CQuestManager& q = CQuestManager::instance(); LPITEM item = q.GetCurrentItem(); if (item) lua_pushboolean(L, item->IsEquipped()); else lua_pushboolean(L, false); return 1; }
I added your function, it worked one time but now it doesn't work XD
Quest:
quest nixo_kd begin state start begin when login begin cmdchat("KD_QUEST "..q.getcurrentquestindex()) end when button or info begin if not pc.can_warp() then chat("You need to wait 10s.") return end if item.is_equipped() then chat("You can't do this! ") return end if pc.count_item(25100) >= 1 then info = get_input("KD_SEND") splited = string.split(info, '|') if item.select_cell(tonumber(splited[1])) then if item.vnum == tonumber(splited[2]) then if item.get_type() == 1 or item.get_type() == 2 and item.get_sub_type() == 0 then for i = 0, 2 do if item.get_socket(i) == tonumber(splited[3]) then if item.get_socket(i) > 20000 and item.get_socket(i) != 28960 then item.set_socket(i, 1) pc.give_item2(tonumber(splited[3])) pc.remove_item(25100, 1) break end end end end end end end end end end
Any ideas?
-
Hi. How to fix that bug?
i already have
if (item2->IsEquipped()) return false;
but i'm using quest with gui
quest nixo_kd begin state start begin when login begin cmdchat("KD_QUEST "..q.getcurrentquestindex()) end when button or info begin if pc.count_item(25100) >= 1 then info = get_input("KD_SEND") splited = string.split(info, '|') if item.select_cell(tonumber(splited[1])) then if item.vnum == tonumber(splited[2]) then if item.get_type() == 1 or item.get_type() == 2 and item.get_sub_type() == 0 then for i = 0, 2 do if item.get_socket(i) == tonumber(splited[3]) then if item.get_socket(i) > 20000 and item.get_socket(i) != 28960 then item.set_socket(i, 1) pc.give_item2(tonumber(splited[3])) pc.remove_item(25100, 1) break end end end end end end end end end end
and this bugfix doesn't work. Any ideas?
Mount system like horse
in Community Support - Questions & Answers
Posted
Hi. Does anyone have mount system like horse? Something like wom.