Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO PServer Hosting > EO PServer Guides & Releases
You last visited: Today at 06:08

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[World of Warcraft] [routine task] 30 star beast fragment logic SQL to Lua

Discussion on [World of Warcraft] [routine task] 30 star beast fragment logic SQL to Lua within the EO PServer Guides & Releases forum part of the EO PServer Hosting category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2021
Posts: 3
Received Thanks: 4
[World of Warcraft] [routine task] 30 star beast fragment logic SQL to Lua

--Name: [magic field] [general task] 30 star beast fragment logic SQL to Lua

--Purify: general tasks

--Creator: chengzhimin

--Created: 2018-08-28

--Modifier: $Author: $

--Modified: $Date: $

--RCS-ID: $Revision: $

-------------------------------------------------------------------------------------------------------------------



--Document No.: 35458



local nLogId = 8677




local tConfig = {}

tConfig[1024257] = {sName = "30*~Divine~Eudemon~Fragment~+1",nCostNum = 8,nGainItem = 1024258,sGainName = "30*~Divine~Eudemon~Fragment~+2",sUnit = "piece"}

tConfig[1024258] = {sName = "30*~Divine~Eudemon~Fragment~+2",nCostNum = 8,nGainItem = 1024259,sGainName = "30*~Divine~Eudemon~Fragment~+3",sUnit = "piece"}

tConfig[1024259] = {sName = "30*~Divine~Eudemon~Fragment~+3",nCostNum = 8,nGainItem = 742187,sGainName = "30-star~SaintXO",sUnit = "Piece"}




for nItem,tInfo in pairs(tConfig) do

rwtItemType[nItem]={}

rwtItemType[nItem]["Rule"]=0

rwtItemType[nItem]["Group1"] = { }

rwtItemType[nItem]["Group1"]["FunC1"]=function(nId, nType, nUserId, nDyNpcId,nItemFlag)

--Nitemflag = 0 Non gift = 1 gift

local nMark = 2

local sTxt = ""

if nItemFlag >= 1 then

nMark = 3

sTxt = "[Bound]"

end

if not rwSysItemCheckStr(nType,tInfo["nCostNum"],nMark,0,0,nUserId,0) then

rwSysTemDialogTips("You~don't~have~"..tInfo["nCostNum"].."stacked~"..tInfo["sName"]..sTxt..",~cannot~compose~into~1"..tInfo["sGainName"]..sTxt..".",nUserId)

return

end

if not rwSysItemBagSpace(1,nUserId) then

rwSysTemDialogTips("You~don't~have~enough~space~in ~your~inventory,~please~make~some~adjustment.",nUs erId)

return

end

if rwSysItemDel(nType, tInfo["nCostNum"], nMark, 0, 0, nUserId) then

rwSysItemAdd(tInfo["nGainItem"],1,nMark,0,nUserId)

rwSysQusetLog(nLogId,1000,0,0,tInfo["nGainItem"],1,nType,tInfo["nCostNum"],0,nUserId)

rwSysAddEffect(nUserId,"gem06")

rwSysTemDialogTips("Congratulations,~you~got~"..tI nfo["sUnit"]..tInfo["sGainName"]..sTxt..",~keep~the~hard~work.",nUserId)

return

end

end

end
847069216 is offline  
Reply

Tags
general tasks


Similar Threads Similar Threads
[Selling] [ICON.CC] NEW FORTNITE CHEAT! :star:AIMBOT + ESP:star: :star:UNDETECTED:star:
12/15/2020 - Fortnite Trading - 1 Replies
IconCheats The Most Reliable Undetected Tournament Ready Fortnite Cheat! Media: https://streamable.com/7udh1s DAY: £3.99 WEEK: £19.99 MONTH: £49.99
[Buying] LF dutch person for task (GIP) Nederlands(7pages) [WTB] LF dutch person for task (GIP
02/21/2016 - Trading - 1 Replies
Hi i'm looking for a dutch person to make one task for my GIP. I already have 3 pages that i have done myself. In total i need about 10. I have 2examples that you can use. If you have done this before and you're able to this. add my skype to discuss the price and other information. It has to be done asap. __________________



All times are GMT +1. The time now is 06:09.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.