[Release] Timeless, Raven, and Elemental Item Exchanger Revision 1 [Mods]

Newbie Spellweaver
Joined
Oct 3, 2008
Messages
87
Reaction score
0
Credits:
Dontus - Coding and Making Everything
Anonymous - Fixing up my scripts
-------------------------------------------------------------------------------------------------​
This release is to make Timeless and Raven and Elemental Items more usefull or better to obtain instead of rather buying them from the All-in-One Shops or etc. This script/coding was used in MapleDreams Server (C) and also was ment for ItsuMS Server but Randy didn't want it.


Ok, Here we go..


-Run This SQL If you want to remove The Timeless Raven and Elemental Items from Shops and Drops.
PHP:
DELETE FROM `shopitems` WHERE `itemid` = 1302081;
DELETE FROM `shopitems` WHERE `itemid` = 1312037;
DELETE FROM `shopitems` WHERE `itemid` = 1322060;
DELETE FROM `shopitems` WHERE `itemid` = 1402046;
DELETE FROM `shopitems` WHERE `itemid` = 1412033;
DELETE FROM `shopitems` WHERE `itemid` = 1422037;
DELETE FROM `shopitems` WHERE `itemid` = 1332079;
DELETE FROM `shopitems` WHERE `itemid` = 1402050;
DELETE FROM `shopitems` WHERE `itemid` = 1402051;
DELETE FROM `shopitems` WHERE `itemid` = 1462052;
DELETE FROM `shopitems` WHERE `itemid` = 1472074;
DELETE FROM `shopitems` WHERE `itemid` = 1452060;
DELETE FROM `shopitems` WHERE `itemid` = 1432048;
DELETE FROM `shopitems` WHERE `itemid` = 1442068;
DELETE FROM `shopitems` WHERE `itemid` = 1372042;
DELETE FROM `shopitems` WHERE `itemid` = 1382050;
DELETE FROM `shopitems` WHERE `itemid` = 1482023;
DELETE FROM `monsterdrops` WHERE `itemid` = 1302081;
DELETE FROM `monsterdrops` WHERE `itemid` = 1312037;
DELETE FROM `monsterdrops` WHERE `itemid` = 1322060;
DELETE FROM `monsterdrops` WHERE `itemid` = 1402046;
DELETE FROM `monsterdrops` WHERE `itemid` = 1412033;
DELETE FROM `monsterdrops` WHERE `itemid` = 1422037;
DELETE FROM `monsterdrops` WHERE `itemid` = 1332079;
DELETE FROM `monsterdrops` WHERE `itemid` = 1402050;
DELETE FROM `monsterdrops` WHERE `itemid` = 1402051;
DELETE FROM `monsterdrops` WHERE `itemid` = 1462052;
DELETE FROM `monsterdrops` WHERE `itemid` = 1472074;
DELETE FROM `monsterdrops` WHERE `itemid` = 1452060;
DELETE FROM `monsterdrops` WHERE `itemid` = 1432048;
DELETE FROM `monsterdrops` WHERE `itemid` = 1442068;
DELETE FROM `monsterdrops` WHERE `itemid` = 1372042;
DELETE FROM `monsterdrops` WHERE `itemid` = 1382050;
DELETE FROM `monsterdrops` WHERE `itemid` = 1482023;


-Now NPC Script, Rename to <NPC>.js and save.
PHP:
/*Made By Donuts/ Zac of MapleDreams
     Use of this NPC: Trades Timeless and Raven Items
        Copyrighted of 2009
             This is copyrighted from Zac and MapleDreams
*/
var status;
var item = new Array(1302081,
                    1312037,
                    1322060,
                    1402046,
                    1412033,
                    1422037,
                    1332079,
                    1402050,
                    1402051,
                    1462052,
                    1472074,
                    1452060,
                    1432048,
                    1442068,
                    1372042,
                    1382050,
                    1482023);
                    
function start() {
    status = -1;
    action(1, 0, 0);
}

function action(mode, type, selection) {
    if (mode == 1)
        status++;
    else {
        if (mode == 0)
            cm.sendOk("Bye ^^, Come Again When You Have The Items!");
        cm.dispose();
        return;
    }
    
    if (status == 0) {
        var pretext = "#r14 #v4031343# and #r7 #v4031344# for a"; // < -- annoying shit.
        var text = "Make sure you have enough inventory slots before you use me!! \r\n You gain #v4031343# each time you finish a PQ!#b";
        text += "\r\n#L0#"+pretext+" #v1302081# that is editted to 158 Attack and 50 STR"; // I WANT STRINGBUILDER D:
        text += "\r\n#L1#"+pretext+" #v1312037# that is editted to 158 Attack and 50 STR";
        text += "\r\n#L2#"+pretext+" #v1322060# that is editted to 158 Attack and 50 STR";
        text += "\r\n#L3#"+pretext+" #v1402046# that is editted to 160 Attack and 50 STR";
        text += "\r\n#L4#"+pretext+" #v1412033# that is editted to 162 Attack and 50 STR";
        text += "\r\n#L5#"+pretext+" #v1422037# that is editted to 162 Attack and 50 STR";
        text += "\r\n#L6#"+pretext+" #v1332079# that is editted to 146 Attack and 50 LUK";
        text += "\r\n#L7#"+pretext+" #v1402050# that is editted to 149 Attack and 50 LUK";
        text += "\r\n#L8#"+pretext+" #v1402051# that is editted to 140 Attack and 50 LUK";
        text += "\r\n#L9#"+pretext+" #v1462052# that is editted to 140 Attack and 50 LUK";
        text += "\r\n#L10#"+pretext+" #v1472074# that is editted to 95 Attack and 50 LUK";
        text += "\r\n#L11#"+pretext+" #v1452060# that is editted to 145 Attack and 50 LUK";
        text += "\r\n#L12#"+pretext+" #v1432048# that is editted to 155 Attack and 50 STR";
        text += "\r\n#L13#"+pretext+" #v1442068# that is editted to 157 Attack and 50 STR";
        text += "\r\n#L14#"+pretext+" #v1372042# that is editted to ?? Magic Attack and 50 INT";
        text += "\r\n#L15#"+pretext+" #v1382050# that is editted to ?? Magic Attack and 50 INT";
        text += "\r\n#L16#"+pretext+" #v1482023# that is editted to 138 Attack and 50 STR";
        cm.sendSimple(text);
    } else if (status == 1) {
        if (cm.haveItem(4031343, 14) && cm.haveItem(4031344, 7)) {
            cm.gainItem(4031343, -14);
            cm.gainItem(4031344, -7);
            cm.gainItem(item[selection], 1);
            cm.sendOk("You have gained #v1302081#!");
        } else
            cm.sendOk("You dont have the following: \r\n 14 #v4031343# or 7 #v4031344#!");
        cm.dispose();
    }
}



Functions
PHP:
 Okay, the NPC trades The Herioc Pentagon(14) and The Herioc Star(7) 
for any Timeless,Raven, or Elemental Item of their Choice.


-Note- You can change the Herioc Pentagon and Herioc Star into something else you would like.
The Herioc Pentagon - 4031343
The Herioc Star - 4031344

Item List
PHP:
1302081 - Timeless Carabella Attack: 108
1312037 - Timeless Axe Attack: 108
1322060 - Timeless Flame Attack: 108
1402046 - Timeless Claymore : Attack 110
1412033 - Timeless Battle Axe Attack: 112
1422037 - Timeless Maul Attack: 112
1332079 - Dawn Raven's Beak Attack : 94
1402050 - Dawn Raven's Wing Attack: 99
1402051 - Dusk Raven's Wing Attack : 90
1462052 - Raven's Eye Attack: 90
1472074 - Dawn Raven's Claw Attack : 45
1452060 - Crimson Arclancer Attack 95
1432048 - Pooh Pooh Shovel Attack:105
1442068 - Crimson Arcglaive Attack : 102
1372042 - Elemental Wand 8 145 Magic Attack
1382050 - Elemental Staff 6 178 Magic Attack
1482023 - Timeless Knuckle: Attack 82

And i think i missed some. Note the attack are un-coded.


Etc. Features
-These Were Coded Timeless and Raven and Elemental Items for MapleDreams.
-XML FIles


PHP:
 The Weapon Attack Calcuations.
100 Weapon Attack is 150 Modded Weapon Attack.
So for instance if a Timeless Knuckle is Attack 82 (18 Below the 100 Mark Line)
The New Timeless Knuckle would be now 132 Attack.
Get It?



PHP:
 Well Enjoy

First Release!!! FLAME SHIELD ON!


PHP:
Current Revision - 1

Revision 1
-Released, Basic Timeless and Raven and Elemental items , Modded Items.

Ill be updating this to add more weapons or other things in.

also keep the header on the NPC scripts.
 
Last edited:
Re: [Release]Timeless, Raven, and Elemental Item Exchanger

Well in MapleDreams you would get a pentagon by finishing a pq and star by rebrithing but you can change those to anything you want,
 
Re: [Release]Timeless, Raven, and Elemental Item Exchanger

Tommy i know what i did was wrong.. but what do you mean our stuff? i coded everything for MapleDreams not to put you down or anything. >.<

I just couldn't deal with Brandon anymore..not in a bad way.
 
Re: [Release]Timeless, Raven, and Elemental Item Exchanger

THanks... >.< don't want to get another infraction now do i xD
 
Re: [Release]Timeless, Raven, and Elemental Item Exchanger

Can i get some feed back about this release please ? :D
 
Re: [Release]Timeless, Raven, and Elemental Item Exchanger

BTW, you should make this easier to edit because, people doesn't have the same PQ's as ur server lol
 
Re: [Release]Timeless, Raven, and Elemental Item Exchanger

People Don't know how to edit a var script? o.O

Code:
/*Made By Donuts/ Zac of MapleDreams
     Use of this NPC: Trades Timeless and Raven Items
        Copyrighted of 2009
             This is copyrighted from Zac and MapleDreams
*/
var status;
var item = new Array(1302081,
                    1312037,
                    1322060,
                    1402046,
                    1412033,
                    1422037,
                    1332079,
                    1402050,
                    1402051,
                    1462052,
                    1472074,
                    1452060,
                    1432048,
                    1442068,
                    1372042,
                    1382050,
                    1482023);
                    
function start() {
    status = -1;
    action(1, 0, 0);
}

function action(mode, type, selection) {
    if (mode == 1)
        status++;
    else {
        if (mode == 0)
            cm.sendOk("Bye ^^, Come Again When You Have The Items!");
        cm.dispose();
        return;
    }
    
    if (status == 0) {
        var pretext = "#r14 #v********# and #r7 #v********# for a"; // < -- annoying shit.
        var text = "Make sure you have enough inventory slots before you use me!! \r\n You gain #v4031343# each time you finish a PQ!#b";
        text += "\r\n#L0#"+pretext+" #v1302081# that is editted to 158 Attack and 50 STR"; // I WANT STRINGBUILDER D:
        text += "\r\n#L1#"+pretext+" #v1312037# that is editted to 158 Attack and 50 STR";
        text += "\r\n#L2#"+pretext+" #v1322060# that is editted to 158 Attack and 50 STR";
        text += "\r\n#L3#"+pretext+" #v1402046# that is editted to 160 Attack and 50 STR";
        text += "\r\n#L4#"+pretext+" #v1412033# that is editted to 162 Attack and 50 STR";
        text += "\r\n#L5#"+pretext+" #v1422037# that is editted to 162 Attack and 50 STR";
        text += "\r\n#L6#"+pretext+" #v1332079# that is editted to 146 Attack and 50 LUK";
        text += "\r\n#L7#"+pretext+" #v1402050# that is editted to 149 Attack and 50 LUK";
        text += "\r\n#L8#"+pretext+" #v1402051# that is editted to 140 Attack and 50 LUK";
        text += "\r\n#L9#"+pretext+" #v1462052# that is editted to 140 Attack and 50 LUK";
        text += "\r\n#L10#"+pretext+" #v1472074# that is editted to 95 Attack and 50 LUK";
        text += "\r\n#L11#"+pretext+" #v1452060# that is editted to 145 Attack and 50 LUK";
        text += "\r\n#L12#"+pretext+" #v1432048# that is editted to 155 Attack and 50 STR";
        text += "\r\n#L13#"+pretext+" #v1442068# that is editted to 157 Attack and 50 STR";
        text += "\r\n#L14#"+pretext+" #v1372042# that is editted to ?? Magic Attack and 50 INT";
        text += "\r\n#L15#"+pretext+" #v1382050# that is editted to ?? Magic Attack and 50 INT";
        text += "\r\n#L16#"+pretext+" #v1482023# that is editted to 138 Attack and 50 STR";
        cm.sendSimple(text);
    } else if (status == 1) {
        if (cm.haveItem(********, 14) && cm.haveItem(********, 7)) {
            cm.gainItem(********, -14);
            cm.gainItem(********, -7);
            cm.gainItem(item[selection], 1);
            cm.sendOk("You have gained #v1302081#!");
        } else
            cm.sendOk("You dont have the following: \r\n 14 #v********# or 7 #v********#!");
        cm.dispose();
    }
}

Okay replace the
PHP:
********
with your item you want to exchange for o.O easier enought now? xD
 
Back