Onioni

Server administrator
  • Content count

    136
  • Joined

  • Last visited

Community Reputation

48 Excellent

1 Follower

About Onioni

  • Rank
    Advanced Member

Recent Profile Visitors

553 profile views
  1. website IGS Points

    This is about how i did this, tho i'm not sure if there is all that needed This in index case 'getcrystals' : in tpl {$user.cryst} class.account public static function GetCrystals() { $Account = $_SESSION['aid']; $GetPts = doQuery("SELECT Money FROM AccountInfo WHERE accID=".$Account , DATABASE_TRADE); $row = mssql_fetch_array($GetPts); return $row['Money']; } inc.config $config['db']['Trade'] = array( 'host' => 'NS528477\SQLEXPRESS', 'db' => 'TradeDB', 'user' => 'TunnusWjaTjaS10', 'pass' => 'OkgiXoMZ%BdA' ); $connections = array( 'game' => false, 'account' => false, 'Auction' => false, 'Trade' => false inc.functions 'pts' => Account::GetPoints(), 'cred' => Account::GetCredits(), 'mac' => Account::FindMacAddress(), 'refpts' => Account::GetReferred(), 'cryst' => Account::GetCrystals(),
  2. Flag PK Map Project

    Sorry, not worth to re-make that map(I mean cause it have already made once). And this project is not even close cotf. On this flag map project are flags on floor, there is flag's on both site and third flags in middle of the map and noone of them are at any team. Thats how it looks when map start. Btw keep this topic on the project please.
  3. Admiral Cloak

    You need add it in fairy posse script to refresh it same way then it refresh possession. Sorry im not im pc, i don't have script ...
  4. Flag PK Map Project

    Bump! It's old post but i think map would be great if there is few people to help on it. Anyone have idea for good algorithm to make fair teams? One way is ofc that to every player/class has it own balances stat that in variable can be easily modifly. Also need map designer but that is not yet important. Ps. Read previous post.
  5. The Story Of Mine

    When you worked for me Sad that you released my files for free with another peoples custom stuffs on it. Said this cause you talking about trust. (I'm laboe aka lari mähönen in fb)
  6. Registration script with rankings

    ZendServer-8.5.3-php-5.6.18-Windows_x86.exe 150.0 MB there is one version if you have problem to download it from zend site
  7. Admiral Cloak

    you can add in pet script if cape slot cape true refresh cape stat..
  8. sand time

    You can find that script in pko2.4-2.7 files but to get it working on 1.3x you have to edit it a bit.
  9. New Website

    Working on new website, anyone interested? Adding it on upgraded muonline website, 20%-40% of core is ready. Now account panel is only working. but gonna finish this and well i started it today... ps:sorry bad paint editing
  10. Reqarding RU Webshop

    Do you have that tabs in database?
  11. IGS rep/credit -> Crystals

    you need third party program made by(xero) or editing exes. ask @V3ct0r more about exe edits.
  12. Manufacturing, crafting, cooking materials

    I was on same problem long time ago and i manage to do it same way then in top 2 with powders. To take pet out of the script need edit .exes, the client force using pet there. (and i'm not good with exes) So this is how i did it, coz client want the pet be there i made powders to be "pet" with 0 stamina if i remember right. also i edit the crafting system to give more luck with Advanced powder. 6529 Novice Fairy Powder n0272 10130005 0 0 0 0 0 0 59 0 0 0 0 0 1 1 1 1 99 0 0 -1 0 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2 0 0 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2 0 0 0 0 0 0 0,0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0 0 0,0 0,0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 The mysterious powder dropped from fairys body can increase the success rate and quantity during manufacturing. 0 6530 Intermediate Fairy Powder n6005 10130005 0 0 0 0 0 0 59 0 0 0 0 0 1 1 1 1 99 0 0 -1 0 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2 0 0 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2 0 0 0 0 0 0 0,0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0 0,0 0,0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 The mysterious powder dropped from fairys body can increase the success rate and quantity highly during manufacturing. 0 6531 Advanced Fairy Powder n6006 10130005 0 0 0 0 0 0 59 0 0 0 0 0 1 1 1 1 99 0 0 -1 0 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2 0 0 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2 0 0 0 0 0 0 0,0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0 0,0 0,0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 The mysterious powder dropped from fairys body can increase the success rate and quantity greatly during manufacturing. 0 in forge.lua is manu/craft/cooking. this is most likely same script then in top2 was or in 2.7 files. if don't want to edit all the script again like to the item delete part etc, there is this script already in 2.7 files. function begin_manufacture_item (...) local role = 0 local ItemBag = {} local ItemBagCount = 0 role , ItemBag , ItemBagCount = Read_manufacture ( arg ) local Check1 = can_manufacture_item_main ( arg ) if Check1 ~= 1 then return 0 end local i = 0 local j = 0 local Item = {} local ItemID = {} local ItemType = {} for j = 1 , ItemBagCount , 1 do Item[j] = GetChaItem ( role , 2 , ItemBag [j] ) ItemID[j] = GetItemID ( Item[j] ) ItemType[j] = GetItemType ( Item[j] ) end local Gj_lv= 0 if ItemID[3]==1068 then Gj_lv=GetItemAttr ( Item[3] , ITEMATTR_VAL_STR ) end local life_lv=GetSkillLv( role , SK_ZHIZAO ) local paper_lv = GetItemAttr(Item[2], ITEMATTR_URE ) local paper_energy = GetItemAttr(Item[2], ITEMATTR_MAXENERGY )-100 local star_good=30 if ItemID[1]==6529 then --Novice Fairy Powder star_good=(math.min(life_lv,paper_lv)*0.03+Gj_lv*0.05+(100-paper_energy*10)*0.01)*100 elseif ItemID[1]==6530 then --Intermediate Fairy Powder star_good=(math.min(life_lv,paper_lv)*0.03+Gj_lv*0.05+(100-paper_energy*10)*0.01)*100+5 elseif ItemID[1]==6531 then --Advanced Fairy Powder star_good=(math.min(life_lv,paper_lv)*0.03+Gj_lv*0.05+(100-paper_energy*10)*0.01)*100+10 else star_good=(math.min(life_lv,paper_lv)*0.03+Gj_lv*0.05+(100-paper_energy*10)*0.01)*100-10 end local star_radom = math.random ( 1, 100 ) local eleven=2 local a1 = star_radom+7 local a2 = star_radom+14 local a3 = star_radom+21 local a4 = star_radom+28 local a5 = star_radom+35 local a6 = star_radom+42 local a7 = star_radom+49 local a8 = star_radom+56 local a9 = star_radom+63 if star_good<star_radom then eleven=1 elseif star_good>=98 then eleven=11 elseif star_good>=a9 then eleven=10 elseif star_good>=a8 then eleven=9 elseif star_good>=a7 then eleven=8 elseif star_good>=a6 then eleven=7 elseif star_good>=a5 then eleven=6 elseif star_good>=a4 then eleven=5 elseif star_good>=a3 then eleven=4 elseif star_good>=a2 then eleven=3 elseif star_good>=a1 then eleven=2 end local star_begin=3*(1+paper_lv) local star_end=5*(1+paper_lv) local star=math.random ( star_begin , star_end ) if star>64 then star=64 end local run_time = star return 2,run_time,eleven end and last it need to take the powder when craft/manu/cooking is done, need add something like this in function end_manufacture_item (...) if ItemID[1]==6529 then s1 =TakeItem( role, 0, 6529, 1) SystemNotice ( role ,"Success rate has been increased by 10% after using Novice Fairy Powder") elseif ItemID[1]==6530 then s2 =TakeItem( role, 0, 6530, 1) SystemNotice ( role ,"Success rate has been increased by 15% after using Intermediate Fairy Powder") elseif ItemID[1]==6531 then s3 =TakeItem( role, 0, 6531, 1) SystemNotice ( role ,"Success rate has been increased by 20% after using Advanced Fairy Powder") else SystemNotice ( role ,"You cannot get a higher success rate without using Fairy Powder") end You can just replace script from top2.7 but remember if you don't edit the CALCULATE_FORGE_LUA_000153 = GetResString("CALCULATE_FORGE_LUA_000153") SystemNotice( role ,CALCULATE_FORGE_LUA_000153) CALCULATE_FORGE_LUA_000153 {"Please use tool" } to SystemNotice( role ,"Please use tool" ) or if you use custom gameserver that read en_us.res then it's all good..
  13. Manufacturing, crafting, cooking materials

    Variable.lua When im on pc I can help more until anyone dont have done it b4. But mean time you can look blueprints id and look that functions and then there is the lines for variables Edit: Okay Now i'm on laptop so here is some info how to edit them (sorry i don't have base files so i show it on my custom script (based on pko 2.7)) function to blueprint item use and iteminfo ids variable.lua so basically if you want edit some items example lets take this craft item ZHUZAO_ID [ 771 ] = item ZHUZAO_LV [ 771 ] = blueprint level = 7 in this case mean only invo bps will drop this and also there need the 771 id be right way.. ZHUZAO_ID1 [ 771 ] = material1 ZHUZAO_ID2 [ 771 ] = material2 ZHUZAO_ID3 [ 771 ] = material3 ZHUZAO__Rad [ 771 ] = 1 ZHUZAO_ID [ 771 ] = 3644 ZHUZAO_LV [ 771 ] = 70 ZHUZAO_ID1 [ 771 ] = 3995 ZHUZAO_ID2 [ 771 ] = 4035 ZHUZAO_ID3 [ 771 ] = 7652 ZHUZAO__Rad [ 771 ] = 1 then if you want add more blueprints take a look this, remember add the max count if your script is using it ZHUZAO_Qua = 5 ZHUZAO_Mxcount = 913 This part you can edit what level blueprint drop what if Itemnew_ID==2301 then local STAR_BEGIN=1 local STAR_END=913 if energy==1 then -- lv1 bp STAR_BEGIN=1 --start at this number STAR_END=77 --end at this elseif energy==2 then --and so on STAR_BEGIN=78 STAR_END=166 elseif energy==3 then STAR_BEGIN=167 STAR_END=278 elseif energy==4 then STAR_BEGIN=279 STAR_END=434 elseif energy==5 then STAR_BEGIN=435 STAR_END=596 elseif energy==6 then STAR_BEGIN=597 STAR_END=732 elseif energy==7 then STAR_BEGIN=733 STAR_END=841 elseif energy==8 then STAR_BEGIN=842 STAR_END=905 elseif energy==9 then STAR_BEGIN=906 STAR_END=923 end PS: if there is small bug just a one number missing or in wrong place whole system can be give you sometimes blank blueprints.. I hope this helps on your problem.
  14. TOP 2 Mobile released

    Terrain bug also on Huawei Y6 Pro, but i really like the game idea even there is still a lot work. Look forum there is topic about bugs and admin is fixing them one by one... Hope it get ready in one day.
  15. Hello, I want share my old DW update script and you can do same in FC and DS if you like. This script update dw boss1 (Wandering Soul) need be killed before you can entry in DW2 also in system will show if boss is killed, remember add variables to get it working. example: BickerNotice(role,"Power of Wandering Soul seal the portal you know what to do!") Notice("<DW>: Wandering Soul is now Death.") Notice("<DW2>: Snowman Warlord is now Death.") Download full dw1-2 script in mega: https://mega.nz/#!TYI2SRiQ!gQQZ9YsLexOJeQhN351g5YcrdLIHFXQRAJ_thTuFGN0 PS: if you want to show who killed the boss you can do it by something like this: Notice("<DW>: "..GetChaDefaultName(role).." Killed Wandering Soul and DW 2 portal is now open.")