Pets - OdinMS

Status
Not open for further replies.
Re: [Release] Pets - OdinMS

Patch the files you see in CharCommands.java or DebugCommands.java into your repack 's Commandprocessor.java :)
 
Re: [Release] Pets - OdinMS

what is this error i cant fix it
Code:
init:
deps-jar:
Compiling 1 source file to C:\Documents and Settings\HP_Owner\My Documents\NetBeansProjects\odinms\build\classes
C:\Documents and Settings\HP_Owner\Desktop\private server\SeanPackV.5.9Beta\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\client\MapleCharacter.java:1: illegal character: \65279
?/*
C:\Documents and Settings\HP_Owner\Desktop\private server\SeanPackV.5.9Beta\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\client\MapleCharacter.java:662: not a statement
                                + "(characterid, itemid, inventorytype, position, quantity, owner, petid) " + "VALUES (?, ?, ?, ?, ?, ?, ?)");
                                                                                                            ^
C:\Documents and Settings\HP_Owner\Desktop\private server\SeanPackV.5.9Beta\SeanPack V.5.9 Beta\SeanSource V.5.9\src\net\sf\odinms\client\MapleCharacter.java:662: ';' expected
                                + "(characterid, itemid, inventorytype, position, quantity, owner, petid) " + "VALUES (?, ?, ?, ?, ?, ?, ?)");
                                                                                                                                            ^
3 errors
BUILD FAILED (total time: 0 seconds)
 
Re: [Release] Pets - OdinMS

i think try removing the ?/* in your MapleCharacter.java script.

and remove + "(characterid, itemid, inventorytype, position, quantity, owner) " + "VALUES (?, ?, ?, ?, ?, ?)");


and add this + "(characterid, itemid, inventorytype, position, quantity, owner, petid) " + "VALUES (?, ?, ?, ?, ?, ?, ?)");

then compile, hope i can help. cause i am not really good at it either, but i got mine to work. :)
 
Re: [Release] Pets - OdinMS

*cross fingers* says: no. x-x , manual patch is defintely so much better, less errors. thats what i did also.
 
Re: [Release] Pets - OdinMS

to manual patch and get this to work, i think its worth the time for you :) so get going! pets are fun, except pets have not been script to function to loot mesos/drops for you. sad! :(
 
Re: [Release] Pets - OdinMS

I Made A npc Selling them. Like not shop but like Bleh don't know how to explain =( ill just post the script

Code:
/* 
R1c31shg00d =) First Npc Script (=
*/

importPackage(net.sf.odinms.client);

var status = 0;

function start() {
status = -1;
action(1, 0, 0);
}

function action(mode, type, selection) {


if (mode == -1) {
cm.dispose();
} else {
if (mode == 1)
status++;
else
status--;

if (status == 0) {
     if (cm.getJob().equals(net.sf.odinms.client.MapleJob. BEGINNER)) {
        cm.sendOk("Go Get A Job And Come BACK!"); // Lmao
        cm.dispose();
    }
    else {
     cm.sendNext(" Heya McStory Person I Don't Know :D\r\n\ What are you up to today?");   
    }
}
else if (status == 1) {
 cm.sendSimple("#L0#Get a free pet!#l\r\n#L1#Buy Pet name tag for 5 mill#l");   
}
else if (status == 2) {
 if (selection == 0) {
     cm.sendSimple("#L0#Brown Kitty#l\r\n#L1#Brown Puppy#l\r\n#L2#Pink Bunny#l\r\n#L3#Mini Kargo#l\r\n#L4#Black Kitty#l\r\n#L5#White Bunny#l\r\n#L6#Husky#l\r\n#L7#Black Pig#l\r\n#L8#Panda#l\r\n#L9#Dino Boy#l\r\n#L10#White Tiger#l"); //Buy!
  }  
 else if (selection == 1) {
	cm.gainItem(5170000,1);
	cm.gaimMeso(-5000000); 

 }
}
else if (status == 3) {
if (selection == 0) {
    cm.gainItem(5000000,1); // Gives Brown Kitty

    cm.dispose();  
} 
else if (selection == 1) {
    cm.gainItem(5000001,1); // brown puppy
    cm.dispose();
}
else if (selection == 2) {
    cm.gainItem(5000002,1); // pink bunny
    cm.dispose();
}
else if (selection == 3) {
    cm.gainItem(5000003,1); // Mini Kargo
    cm.dispose();
}
else if (selection == 4) {
    cm.gainItem(5000004,1); // Black Kitty
}
else if (selection == 5) {
    cm.gainItem(5000005,1); // white bunny
    cm.dispose();
}
else if (selection == 6) {
    cm.gainItem(5000006,1); // husky
    cm.dispose()
}
else if (selection == 7) {
    cm.gainItem(5000007,1); // Black Pig
    cm.dispose();
}
else if (selection == 8) {
    cm.gainItem(5000008,1); // Panda
    cm.dispose();
}
else if (selection == 9) {
    cm.gainItem(5000009,1); // Dino Boy
    cm.dispose();
}
else if (selection == 10) {
    cm.gainItem(5000012,1); // White Tiger
    cm.dispose();
}



}
}
}

Apparently This Doesn't work either. =(
When you try to buy a pet doesn't work
 
Re: [Release] Pets - OdinMS

Nice try there. but i think you'll have to wait for the developer to make them buyable from shops first. I guess so :/
 
Re: [Release] Pets - OdinMS

Boom, what happens when i patch?
This is what happens:

Code:
Jul 24, 2008 4:56:34 PM  ===========================================================================
--- Successfully Patched ---
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\MovePetHandler.java
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\PetChatHandler.java
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\PetCommandHandler.java
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\PetFoodHandler.java
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\SpawnPetHandler.java
--- Failed ---
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\recvops.properties (Index: 86, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\sendops.properties (Index: 110, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\ExpTable.java (Index: 40, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\IItem.java (Index: 32, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\Item.java (Index: 31, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\MapleCharacter.java (Index: 51, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\MapleClient.java (Index: 44, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\MaplePet.java (Index: 25, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\MapleStat.java (Index: 26, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\messages\commands\CharCommands.java (Index: 20, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\messages\commands\DebugCommands.java (Index: 21, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\AbstractMovementPacketHandler.java (Index: 48, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\ItemPickupHandler.java (Index: 29, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\PlayerLoggedinHandler.java (Index: 129, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\UseCashItemHandler.java (Index: 24, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\PacketProcessor.java (Index: 45, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\RecvPacketOpcode.java (Index: 93, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\SendPacketOpcode.java (Index: 120, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\server\MapleInventoryManipulator.java (Index: 29, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\server\MapleStorage.java (Index: 131, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\server\maps\MapleMap.java (Index: 748, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\tools\MaplePacketCreator.java (Index: 49, Size: 0 )
Jul 24, 2008 4:58:07 PM  ===========================================================================
--- Successfully Patched ---
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\MovePetHandler.java
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\PetChatHandler.java
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\PetCommandHandler.java
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\PetFoodHandler.java
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\SpawnPetHandler.java
--- Failed ---
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\recvops.properties (Index: 86, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\sendops.properties (Index: 110, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\ExpTable.java (Index: 40, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\IItem.java (Index: 32, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\Item.java (Index: 31, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\MapleCharacter.java (Index: 51, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\MapleClient.java (Index: 44, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\MaplePet.java (Index: 25, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\MapleStat.java (Index: 26, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\messages\commands\CharCommands.java (Index: 20, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\client\messages\commands\DebugCommands.java (Index: 21, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\AbstractMovementPacketHandler.java (Index: 48, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\ItemPickupHandler.java (Index: 29, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\PlayerLoggedinHandler.java (Index: 129, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\channel\handler\UseCashItemHandler.java (Index: 24, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\PacketProcessor.java (Index: 45, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\RecvPacketOpcode.java (Index: 93, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\net\SendPacketOpcode.java (Index: 120, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\server\MapleInventoryManipulator.java (Index: 29, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\server\MapleStorage.java (Index: 131, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\server\maps\MapleMap.java (Index: 748, Size: 0 )
C:\Documents and Settings\Administrator\Desktop\FishyStory v1\src\net\sf\odinms\tools\MaplePacketCreator.java (Index: 49, Size: 0 )

Ty..
 
Re: [Release] Pets - OdinMS

Try Manual Patching the files, Check your recvops and sendops file in your source folder. they must be manually patched as well.
 
Re: [Release] Pets - OdinMS

Try Manual Patching the files, Check your recvops and sendops file in your source folder. they must be manually patched as well.

totally off topic. nejevoli, is that you in your avatar? I like your hair :D! I had almost the exact same hair except mines mostly black with blond. Visual kei <3 jrock ? ;o!
 
Re: [Release] Pets - OdinMS

Used Working and i support u 100000% Also Request You to be a Dev For LightingMs Cough..
just gr8 work ^^
 
Re: [Release] Pets - OdinMS

bleh. manual patch don't work for me.
keeps saying The Line "Index:" was not found! Either this is not a dif file or the dif is empty.
Anyone have any ideas?
 
Status
Not open for further replies.
Back