Bloddi
-
Posts
15 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Bloddi
-
-
I modified a little bit the function send_letter so you don't need to write q.set_icon(x)
function send_letter(name) local files = { ["*"] = "scroll_open_blue.tga", ["~"] = "scroll_open_golden.tga", ["&"] = "scroll_open_green.tga", ["+"] = "scroll_open_purple.tga", } local chr = string.sub(name,1,1) if chr == '*' or chr == '~' or chr == '&' or chr == '+' then q.set_icon(files[chr]) end makequestbutton(name) set_skin(NOWINDOW) q.set_title(name) q.start() end
SCROll_BLUE = "*" SCROLL_GOLD = "~" SCROLL_GREEN = "&" SCROLL_PURPLE = "+" SCROLL_TABLE = {SCROll_BLUE = "scroll_open_blue.tga",[SCROLL_GOLD] = "scroll_open_golden.tga" ,[SCROLL_GREEN] = "scroll_open_green.tga",[SCROLL_PURPLE]="scroll_open_purple.tga"} function send_letter(name,scroll_type=nil) if SCROLL_TABLE[scroll_type] then q.set_icon(SCROLL_TABLE[scroll_type]) name = name..scroll_type end makequestbutton(name) set_skin(NOWINDOW) q.set_title(name) q.start() end
I think is better using the scroll type as a parameter.
- 1
-
Well, i have made it, following the video of .Inyaproduction, by myself in 5 minutes otherwise it wouldnt be here, released,
It's not all code? Maybe because Im not a leecher and i didnt copy his work and this is how i would it?
Simply a minor effect with three small balls fly and just a big one.
-
void CParty::RemoveItem(int iVnum) { TMemberMap::iterator it; for (it = m_memberMap.begin(); it != m_memberMap.end(); ++it) { if (!it->second.pCharacter) continue; LPCHARACTER ch = it->second.pCharacter; ch->RemoveSpecifyItem(iVnum); } }
void CParty::HasItem(int iVnum) { TMemberMap::iterator it; for (it = m_memberMap.begin(); it != m_memberMap.end(); ++it) { if (!it->second.pCharacter) continue; LPCHARACTER ch = it->second.pCharacter; if(!ch->CountSpecifyItem(iVnum)) return false; } return true; }
It should works, add the lua part and the function prototype.
-
Intro:
This video was made by .InyaProduction who was inspired by Mijago's work. I havent copied anything by anyone. (Yes this intro is for just three rows of code but people are funny huh.)
How to:
Open exchange.cpp
Go to row 485 after:
if (item->GetVnum() >= 80003 && item->GetVnum() <= 80007) { LogManager::instance().GoldBarLog(victim->GetPlayerID(), item->GetID(), EXCHANGE_TAKE, ""); LogManager::instance().GoldBarLog(GetOwner()->GetPlayerID(), item->GetID(), EXCHANGE_GIVE, ""); }
Add:
m_pOwner->CreateFly(FLY_SP_MEDIUM, victim);//ExchangeEffect by andrea49611 for (int i = 0; i < 3; i++){ m_pOwner->CreateFly(FLY_SP_SMALL, victim); }
I dont know if the section is correct.
Have Fun.
- 14
-
I have made it months ago you have to change the packet too because the level is a DWORD so the max is 255.
Searching Client Source Compiling
in Paid Support / Searching / Recruiting
Posted
scammer
[4:15:24 PM] ~Andrea: ok good as soon as i get the payment we will start
[3:41:57 PM] N°21 | Fabian: yeah
[3:42:04 PM] N°21 | Fabian: so i am shortly afk
[3:42:09 PM] N°21 | Fabian: 2 min
[3:42:12 PM] ~Andrea: ok
[3:43:07 PM | Edited 3:44:06 PM] ~Andrea: im waiting you
[3:49:12 PM] N°21 | Fabian: so i am back
[3:49:20 PM] N°21 | Fabian: do you recive my Money?
[3:49:54 PM] ~Andrea: Nope
[3:50:14 PM] N°21 | Fabian: wait i am sending you the proof from my PayPal acc
[3:54:09 PM] ~Andrea: give me tv and lets see
[3:54:22 PM] ~Andrea: ahahah
[3:54:36 PM] *** ~Andrea would like to add you on Skype
the source are bugged ***
[3:54:41 PM | Edited 3:54:43 PM] ~Andrea: see you noob