Jump to content

habs8024

Advanced members
  • Content Count

    30
  • Joined

  • Last visited

Everything posted by habs8024

  1. why is your website so slow
  2. Hi Angelix, im not getting any gameserver console errors Also my gameserver log is filled with this, nothing else No, you're right there's also this script called "Start.lua" and Variables.Lua
  3. Hello Masuka I've just found it in lucky's archive. https://mega.nz/folder/OUMUgTYb#jtCsqh7halK_O9uzWyaG0g/file/HAkEDS6B it's called Pkosite V1.0.0.rar it's in the webfiles -> templates -> Pkosite v1.0.0.rar Hope it's the one you're looking for
  4. Hello Pirates I have tried to add the FREE Lunch extension from lucky's archive the script works great, sort of it functions as it should but i found a weird problem, that i cannot figure out for the life of me Somehow the script messes up the entire Cha_timer, so such as rear fairy, cloaks and other cha_timer effects just stops working The script looks like this Does anyone have an idea on how to fix this? Not looking for a hand out, but a pointer of where to go would be nice print( " >> Loading FREE Lunch Ctrl" ) -- -------------------------- -- FREE Lunch Functions -- -------------------------- function FREELunch:SetHours(number) if FREELunch.Enable == true then print("=============================================================================") print("FREE Lunch: You can't edit hours right now because FREE Lunch Event is enabled. If you wish to edit hours, please disable the event first!") print("=============================================================================") return 0 end if number > 24 then print("=============================================================================") print("FREE Lunch: Maximum hours range is 24 hour(s). You can't make it higher!") print("=============================================================================") return 0 end FREELunch.Hours = number BickerNotice(role,"FREE Lunch: Time is not set up!") SystemNotice(role,"FREE Lunch: Please set up your FREE Lunch Hour before starting this extension.") print("FREE Lunch: Your set your hours to "..number.." for FREE Lunch Event, If you wish to proceed please start the event, if not, you can change the value again.") end function FuncFREELunch(ignore, role, freq, time) for i,v in pairs({GetChaDefaultName(role)}) do if(FREELunch.Hours ~= nil and FREELunch.Enable == true and IsPlayer(role) == 1 and FREELunch.Players[v] == nil)then FREELunch.Announce = true FREELunch.Players[v] = { Name = v, Time = FREELunch.Hours*3600, Role = role } BickerNotice(FREELunch.Players[v].Role,"FREE Lunch Event has started!") SystemNotice(FREELunch.Players[v].Role,"FREE Lunch: FREE Lunch Event has started! If you wish to receive rewards, you have to be online for "..FREELunch.Hours.." hour(s)!") elseif(FREELunch.Hours ~= nil and FREELunch.Enable == false and IsPlayer(role) == 1 and FREELunch.Announce == true)then BickerNotice(FREELunch.Players[v].Role,"FREE Lunch Event has ended!") Notice("FREE Lunch: The FREE Lunch Event has already ended! Congratulations to all who have won, and for who haven't won, we wish you a better luck next FREE Lunch. Thank you for joining the Event!") FREELunch:Init() FREELunch.Players[CharacterName] = nil elseif(FREELunch.Hours == nil and FREELunch.Enable == true and IsPlayer(role) == 1 and FREELunch.SetUp == true)then FREELunch:Init() BickerNotice(role,"FREE Lunch: Time is not set up!") SystemNotice(role,"FREE Lunch: Please set up your FREE Lunch Hour before starting this extension.") print("FREE Lunch: Please set up your FREE Lunch Hour before starting this extension.") else FREELunch.SetUp = true end end local CharacterName = GetChaDefaultName(role) local Roler = FREELunch.Players[CharacterName].Role local Random = math.random(1,FREELunch.RewardsCount) if(FREELunch.Enable == true)then if(IsPlayer(role) == 1 and FREELunch.Players[CharacterName] ~= nil)then FREELunch.Players[CharacterName].Time = FREELunch.Players[CharacterName].Time - 1 end end if(FREELunch.Players[CharacterName].Time == 86399)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 24 hour") elseif(FREELunch.Players[CharacterName].Time == 82800)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 23 hour") elseif(FREELunch.Players[CharacterName].Time == 79200)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 22 hour") elseif(FREELunch.Players[CharacterName].Time == 75600)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 21 hour") elseif(FREELunch.Players[CharacterName].Time == 72000)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 20 hour") elseif(FREELunch.Players[CharacterName].Time == 68400)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 19 hour") elseif(FREELunch.Players[CharacterName].Time == 64800)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 18 hour") elseif(FREELunch.Players[CharacterName].Time == 61200)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 17 hour") elseif(FREELunch.Players[CharacterName].Time == 57600)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 16 hour") elseif(FREELunch.Players[CharacterName].Time == 54000)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 15 hour") elseif(FREELunch.Players[CharacterName].Time == 50400)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 14 hour") elseif(FREELunch.Players[CharacterName].Time == 46800)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 13 hour") elseif(FREELunch.Players[CharacterName].Time == 43200)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 12 hour") elseif(FREELunch.Players[CharacterName].Time == 39600)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 11 hour") elseif(FREELunch.Players[CharacterName].Time == 36000)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 10 hour") elseif(FREELunch.Players[CharacterName].Time == 32400)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 9 hour") elseif(FREELunch.Players[CharacterName].Time == 28800)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 8 hour") elseif(FREELunch.Players[CharacterName].Time == 25200)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 7 hour") elseif(FREELunch.Players[CharacterName].Time == 21600)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 6 hour") elseif(FREELunch.Players[CharacterName].Time == 18000)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 5 hour") elseif(FREELunch.Players[CharacterName].Time == 14400)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 4 hour") elseif(FREELunch.Players[CharacterName].Time == 10800)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 3 hour") elseif(FREELunch.Players[CharacterName].Time == 7200)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 2 hour") elseif(FREELunch.Players[CharacterName].Time == 3600)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 1 hour") elseif(FREELunch.Players[CharacterName].Time == 1800)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 30 minute(s)") elseif(FREELunch.Players[CharacterName].Time == 900)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 15 minute(s)") elseif(FREELunch.Players[CharacterName].Time == 600)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 10 minute(s)") elseif(FREELunch.Players[CharacterName].Time == 300)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 5 minute(s)") elseif(FREELunch.Players[CharacterName].Time == 60)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 1 minute(s)") elseif(FREELunch.Players[CharacterName].Time == 30)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 30 second(s)") elseif(FREELunch.Players[CharacterName].Time == 15)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 15 second(s)") elseif(FREELunch.Players[CharacterName].Time == 5)then SystemNotice(Roler,"FREE Lunch: "..FREELunch.Players[CharacterName].Name..", your remaining time to receive FREE Lunch reward is: 5 second(s)") end if(FREELunch.Players[CharacterName].Time <= 0)then if GetChaFreeBagGridNum(Roler) <= FREELunch.RewardsCount then GiveItemX (Roler,0, FREELunch.Rewards[Random].ID, FREELunch.Rewards[Random].QTY, 4 ) else GiveItem (Roler,0, FREELunch.Rewards[Random].ID, FREELunch.Rewards[Random].QTY, 4 ) end BickerNotice(Roler,"Congratulations! You win a "..FREELunch.Rewards[Random].QTY.."x of "..GetItemName(FREELunch.Rewards[Random].ID).."!") Notice("FREE Lunch: Congratulations to "..FREELunch.Players[CharacterName].Name.."! he/she has been online for "..FREELunch.Hours.." hour(s) and he/she received "..FREELunch.Rewards[Random].QTY.."x of "..GetItemName(FREELunch.Rewards[Random].ID).."!") FREELunch.Players[CharacterName] = nil end end Hook:AddPostHook("cha_timer", FuncFREELunch,1)
  5. Have you checked that your spacings are correct? i can recommend you checking this out https://pkodev.net/topic/1460-wrong-iteminfotxt-spacing/
  6. habs8024

    LuaSQL (DLL)

    Can anyone help me import this? I feel like I've tried everything or can someone show me the gameserver console of a working one?
  7. I have not, I'm at work atm Do you know if they support the dll? And which one would you recommend?
  8. can anyone give me a 138 gameserver with imported luasql.dll? or show me how to do it
  9. i did try 138 one on the PKO 138 + tools gameserver, still doesnt work
  10. Hello again Can anyone help me with adding the LuaSql.dll to my gameserver.exe? I've tried alot of different gameservers but they all say "Loading LuaSQL.dll" and doesnt say anything about if its correctly imported, or connected I've tried these gameserver.exe's Lucky's 136 base files PKO 138 + tools PirateKingOnline138_Server2.0 Base Server 2.0 some old 135 i had laying around I'm not sure if i have to place the DLL somewhere specific, but i just put it in the same folder as the gameserver then i open CFF explorer in administrator mode, locate the gameserver.exe -> import adder -> add the dll -> import by name -> uncheck "rebuild with OFTs" -> Rebuild Import table -> and press save and overwrite the original files -> launch gameserver, then the first message is this, after that the gameserver starts up as normal, and doesnt mention anything else about LuaSQL P.S I've only tried the "LuaSQL2.rar" also tried both 136 and 138 on all gameservers, nothing working Please anyone help me
  11. If my character is called let's say "pkodev" Should it be &Lua AddMallPoints("pkodev",1000)"? And it should be ingame chat right? Or like this &Lua AddMallPoints pkodev,1000
  12. Arrr Pirates I'm having a problem with LuaSQL that Xeon released in behalf of Wrexor First of all i dont have Visual studio 2015, installed and dont have any experience compiling using VS But i downloaded the rar he attached to his release post, and opened all the files, and see any Sql login to configure So i downloaded the DLL that Wrexor attached, and used CFF explorer to import the DLL into my Gameserver it all went smooth, until i tried to use the "&lua AddMallPoints("Player Name",1000)" command When i tried to use the command ingame, nothing happend, i tried to fill "playername" with Qcha number, ingame name and account name, but nothing got added I have IGS up and running fine, and sql user have all the permissions that it can get I'm looking for guidance for what i can do Please have a look at the picture i have attached to see my gameserver console when i launch the GS Is it connected to my db? should it say something else in the console, i'm quite lost
  13. Hello ive been looking around for an item that gives igs crystals or how to create one, but I've only come across igs by mobs can anyone help me ? thanks in advance
  14. Heeey, kinda weird question. I was sitting on my server today, and i remembered the "myEbot" program, and wanted to use it on my server where i play alone (loner) Is there anyone who has it laying around? Thanks a bunch =) #nohate
  15. Hello there, i've been searching around and trying to find out if you could change the reputation to credit so it gives crystals (igs) instead of credits. Or an item ingame you could use to get crystals. Any ideas?
  16. They're a item from ToP2, used to transfer gems from old eq to another. the amount of Halites required differs from level of new equipment and how many gems are in it =)
  17. Has anyone tried working on Halites? also does anyone have a guide on adding and making extensions? i wanna learn
  18. Not sure why i hadn't tried that lol, thanks a bunch both of you i changed CheckTeam1 to CheckTeam in missionsdk and works fine now =) For anyone watching this thread with the same problem this is what u gotta do go to -> \Resource\script\MisSdk open MissionSdk.lua Search for this function elseif conditions[i].func == CheckTeam1 then PRINT( "ConditionsTest:CheckTeam1, p1 =, p2 =", conditions[i].p1, conditions[i].p2 ) local ret = CheckTeam1( character, conditions[i].p1, conditions[i].p2 ) if ret ~= LUA_TRUE then PRINT( "ConditionsTest:CheckTeam1 = false" ) return LUA_FALSE end And replace with this elseif conditions[i].func == CheckTeam then PRINT( "ConditionsTest:CheckTeam, p1 =, p2 =", conditions[i].p1, conditions[i].p2 ) local ret = CheckTeam( character, conditions[i].p1, conditions[i].p2 ) if ret ~= LUA_TRUE then PRINT( "ConditionsTest:CheckTeam = false" ) return LUA_FALSE end next go to -> \Resource\script\calculate And open functions.lua Search for this function CheckTeam ( role ) and make sure there's no duplicates of this function. Credits to @iZae and @Lucky for helping
  19. I've removed all other checkteam functions in the functions.lua now And checked missionsdk for dupes, there was only one checkteam and it's this elseif conditions[i].func == CheckTeam1 then PRINT( "ConditionsTest:CheckTeam1, p1 =, p2 =", conditions[i].p1, conditions[i].p2 ) local ret = CheckTeam1( character, conditions[i].p1, conditions[i].p2 ) if ret ~= LUA_TRUE then PRINT( "ConditionsTest:CheckTeam1 = false" ) return LUA_FALSE end But why is it called "CheckTeam1" ? should i change it to just CheckTeam?
  20. function CheckTeam ( role ) local player = {} player[1] = role player[2] = GetTeamCha( role , 0 ) player[3] = GetTeamCha( role , 1 ) player[4] = GetTeamCha( role , 2 ) player[5] = GetTeamCha( role , 3 ) local n1 = 0 local n2 = 0 local n3 = 0 for j = 0 , 5 , 1 do if ValidCha( player[j] )== 1 then local lv_p = GetChaAttr ( player[j] , ATTR_LV ) if lv_p >= 20 and lv_p <= 30 then n1 = n1 + 1 elseif lv_p > 30 and lv_p <= 40 then n2 = n2 + 1 elseif lv_p > 40 then n3 = n3 + 1 end end end if n1 >= 1 and n2 >= 1 and n3>= 1 then return LUA_TRUE end end I've tried this aswell, Still won't work
  21. I've narrowed it down to being the CheckTeam function not working properly, still dont understand why it doesnt work =/
  22. Hey guys, i've ran into a problem when doing hexa quest, when i reach "The Sixth Task" the last mission doesnt show up at "Icicle Swordsman - Ray" after making a party. any ideas why? Here's the ray npcsript function r_talk78 () ------------------- Talk( 1, "Ray: I am a bounty hunter. I love to hunt for undeads. If you are interested, I can recommend a few places to you." ) InitTrigger() TriggerCondition( 1, LvCheck, ">", 9 ) TriggerCondition( 1, IsCategory, 1 ) TriggerCondition( 1, PfEqual, 0 ) TriggerCondition( 1, HasMoney, 1000 ) TriggerCondition( 1, HasItem, 3955, 1 ) TriggerAction( 1, TakeItem, 3955, 1 ) TriggerAction( 1, TakeMoney, 1000 ) TriggerAction( 1, GiveItem, 3187, 1 , 4) TriggerAction( 1, GiveItem, 25, 1 , 4) TriggerAction( 1, SetProfession, 2 ) TriggerAction( 1, JumpPage, 3 ) TriggerCondition( 2, LvCheck, ">", 9 ) TriggerCondition( 2, IsCategory, 3 ) TriggerCondition( 2, PfEqual, 0 ) TriggerCondition( 2, HasMoney, 1000 ) TriggerCondition( 2, HasItem, 3955, 1 ) TriggerAction( 2, TakeItem, 3955, 1 ) TriggerAction( 2, TakeMoney, 1000 ) TriggerAction( 2, GiveItem, 3187, 1 , 4) TriggerAction( 2, GiveItem, 25, 1, 4) TriggerAction( 2, SetProfession, 2 ) TriggerAction( 2, JumpPage, 3 ) TriggerFailure( 2, JumpPage, 4 ) Talk(2, "Hi my friend. You have great reflexes, suitable to become a hunter. Why don't you become a hunter now? I believe that you will not be disappointed.") Text(2, "Ok, class change to be Hunter", MultiTrigger, GetMultiTrigger(), 2) Text(2, "No, it is good enough for now.", CloseTalk) Talk(3, "I have told you all I can about being a Hunter. Now its up to you to become the best Hunter.") Talk(4, "Want to be a Hunter? Only players Lv 8 and above who possess a Hunter Manual can register with me for 1000G. Muscular guy or little girl are not suitable.") InitTrigger() TriggerCondition( 1, LvCheck, ">", 39 ) TriggerCondition( 1, IsCategory, 1 ) TriggerCondition( 1, PfEqual, 2 ) TriggerCondition( 1, HasMoney, 15000 ) TriggerCondition( 1, HasItem, 3364, 1 ) TriggerAction( 1, TakeItem, 3364, 1 ) TriggerAction( 1, TakeMoney, 15000 ) TriggerAction( 1, SetProfession, 12 ) TriggerAction( 1, JumpPage, 6 ) TriggerCondition( 2, LvCheck, ">", 39 ) TriggerCondition( 2, IsCategory, 3 ) TriggerCondition( 2, PfEqual, 2 ) TriggerCondition( 2, HasMoney, 15000 ) TriggerCondition( 2, HasItem, 3364, 1 ) TriggerAction( 2, TakeItem, 3364, 1 ) TriggerAction( 2, TakeMoney, 15000 ) TriggerAction( 2, SetProfession, 12 ) TriggerAction( 2, JumpPage, 6 ) TriggerFailure( 2, JumpPage, 7 ) Talk(5, "Sharpshoots nowadays only want to earn more money. They will kill anyone on sight as long as there is a bounty. Friend, it seems that you are suitable to become a sharpshooter. You have a good character and build. Would you consider to be one so that you might restore the glory of the Sharpshooters one day?") Text(5, "Ok, I will become a Sharpshooter", MultiTrigger, GetMultiTrigger(), 2) Text(5, "No, it is good enough for now.", CloseTalk) Talk(6, "Sharpshooters are not assassins. You must not forget the principles of the sharpshooters in the future.") Talk(7, "Want to become a Sharpshooter? Come back here when you are Lv 40. Remember to bring along 1 Clarity Crystal and 15000G too!") --InitTrigger() ------------------- --TriggerCondition( 1, LvCheck, ">", 9 ) ----TriggerCondition( 1, IsCategory, 1 ) --TriggerCondition( 1, PfEqual, 0 ) --TriggerAction( 1, JumpPage, 2 ) --TriggerCondition( 2, LvCheck, ">", 9 ) --TriggerCondition( 2, IsCategory, 3 ) --TriggerCondition( 2, PfEqual, 0 ) --TriggerAction( 2, JumpPage, 2 ) --TriggerFailure( 2, JumpPage, 1 ) ---------------- --TriggerCondition( 3, LvCheck, ">", 39 ) --TriggerCondition( 3, IsCategory, 1 ) --TriggerCondition( 3, PfEqual, 2 ) --TriggerAction( 3, JumpPage, 5 ) --TriggerCondition( 4, LvCheck, ">", 39 ) --TriggerCondition( 4, IsCategory, 3 ) --TriggerCondition( 4, PfEqual, 2 ) --TriggerAction( 4, JumpPage, 5 ) --TriggerFailure( 4, JumpPage, 1 ) --Start( GetMultiTrigger(), 2 ) --AddNpcMission ( 729 ) AddNpcMission ( 101 ) AddNpcMission ( 251 ) AddNpcMission ( 252 ) AddNpcMission ( 260 ) AddNpcMission ( 261 ) --AddNpcMission (410) AddNpcMission (757) AddNpcMission (167) AddNpcMission (168) AddNpcMission (169) AddNpcMission (174) --AddNpcMission (175) AddNpcMission (176) AddNpcMission (180) AddNpcMission (523) AddNpcMission( 1237 ) -------------eleven AddNpcMission( 5057 ) AddNpcMission( 5061 ) AddNpcMission( 5069 ) ----------1.7 AddNpcMission( 5168 ) AddNpcMission( 5090 ) AddNpcMission (5097 ) AddNpcMission (5098 ) AddNpcMission (5099 ) AddNpcMission (5100 ) AddNpcMission (5111 ) ---------------2.0 AddNpcMission ( 6382 ) AddNpcMission ( 6383 ) MisListPage(2) ----- AddNpcMission ( 6125 ) end And here's the CheckTeam ( role ) in functions.lua function CheckTeam ( role ) local player = {} player[1] = role player[2] = GetTeamCha( role , 0 ) player[3] = GetTeamCha( role , 1 ) player[4] = GetTeamCha( role , 2 ) player[5] = GetTeamCha( role , 3 ) local n1 = 0 local n2 = 0 local n3 = 0 for j = 0 , 5 , 1 do if ValidCha( player[j] )== 1 then local lv_p = GetChaAttr ( player[j] , ATTR_LV ) if lv_p >= 20 and lv_p <= 30 then n1 = n1 + 1 elseif lv_p > 30 and lv_p <= 40 then n2 = n2 + 1 elseif lv_p > 40 then n3 = n3 + 1 end end end if n1 >= 1 and n2 >= 1 and n3>= 1 then return LUA_TRUE end end --MissionSdk.lua, around line 2688! elseif conditions[i].func == CheckTeam then PRINT( "ConditionsTest: CheckTeam, p1 = ", conditions[i].p1 ) local ret = CheckTeam( character, conditions[i].p1 ) if ret ~= LUA_TRUE then PRINT( "ConditionsTest:CheckTeam = false" ) return LUA_FALSE end Please help me ._.
  23. not quite sure i understand what to delete? the 1st code you showed me isnt the one i use, should i delete everything i sent?
×
×
  • Create New...