[Release]Scroll(! This is not perfect!)

Status
Not open for further replies.
Hey .. sorry to be nooby :P please dont flame >.< BUT!!

Can some one write a simple tut how to add this ..

Thanks a lot !!

Please no flame :(
 
1>------ Build started: Project: MapleStoryServer, Configuration: Release Win32 ------
1>Compiling...
1>PlayerPacket.cpp
1>Players.cpp
1>PlayerInventory.cpp
1>.\PlayerInventory.cpp(13) : error C2059: syntax error : '}'
1>.\PlayerInventory.cpp(13) : error C2143: syntax error : missing ';' before '}'
1>.\PlayerInventory.cpp(13) : error C2059: syntax error : '}'
1>.\PlayerInventory.cpp(14) : error C2039: 'plusEquipState' : is not a member of 'PlayerInventory'
1> d:\my documents\downloads\kryticalv5fixed\maplestoryserver\PlayerInventory.h(39) : see declaration of 'PlayerInventory'
1>.\PlayerInventory.cpp(15) : error C2143: syntax error : missing ';' before '{'
1>.\PlayerInventory.cpp(15) : error C2447: '{' : missing function header (old-style formal list?)
1>Player.cpp
1>Inventory.cpp
1>.\Inventory.cpp(909) : error C2039: 'plusEquipState' : is not a member of 'PlayerInventory'
1> d:\my documents\downloads\kryticalv5fixed\maplestoryserver\PlayerInventory.h(39) : see declaration of 'PlayerInventory'
1>.\Inventory.cpp(914) : error C2039: 'plusEquipState' : is not a member of 'PlayerInventory'
1> d:\my documents\downloads\kryticalv5fixed\maplestoryserver\PlayerInventory.h(39) : see declaration of 'PlayerInventory'
1>Drops.cpp
1>Build log was saved at "file://d:\My Documents\downloads\Kryticalv5FIXED\MapleStoryServer\Release\BuildLog.htm"
1>MapleStoryServer - 8 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========
i got 8 errors
im just a newb i dont know how to fix this help pls
 
No, having errors is not normal if you followed everything correctly and payed attention to the last 4 pages of this thread.
 
Guys .. can somebody help me .. i get errors .. >.<

Yes i i tried following it .. but yeah .. im confused ..

Can somebody give me a SMALL tut on how to build it .. Thanks ..
 
1>------ Build started: Project: MapleStoryServer, Configuration: Release Win32 ------
1>Compiling...
1>PlayerPacket.cpp
1>Players.cpp
1>PlayerInventory.cpp
1>.\PlayerInventory.cpp(10) : error C2084: function 'void PlayerInventory::plusEquipState(Player *,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int)' already has a body
1> d:\my documents\downloads\kryticalv5fixed\maplestoryserver\PlayerInventory.h(102) : see previous definition of 'plusEquipState'
1>Player.cpp
1>Mobs.cpp
1>Levels.cpp
1>Inventory.cpp
1>Drops.cpp
1>Build log was saved at "file://d:\My Documents\downloads\Kryticalv5FIXED\MapleStoryServer\Release\BuildLog.htm"
1>MapleStoryServer - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========
now got my error down to 1
 
when i tried to use this i got 748 error lol. anyone can beat that xD? then after some tweking i got it working fine. thx a lot ts. scrolling owns. too bad no animation :P
 
Knew it, if your using Krytical's Repack you basicly can't use this cus your just going to get stupid errors.

I went and downloaded the rev 007 again and did this and it works fine now, imma just add stuff in now and not use a repack. (:
 
Knew it, if your using Krytical's Repack you basicly can't use this cus your just going to get stupid errors.

I went and downloaded the rev 007 again and did this and it works fine now, imma just add stuff in now and not use a repack. (:

er lol. im using krytical's repack and its working fine cept for the animation :P
 
Knew it, if your using Krytical's Repack you basicly can't use this cus your just going to get stupid errors.

I went and downloaded the rev 007 again and did this and it works fine now, imma just add stuff in now and not use a repack. (:

Wise choice myfriend.
 
i dont know how to fix this....help

1>.\PlayerInventory.cpp(11) : error C2084: function 'void PlayerInventory::plusEquipState(Player *,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int)' already has a body
1> d:\my documents\downloads\kryticalv5fixed\maplestoryserver\PlayerInventory.h(102) : see previous definition of 'plusEquipState'
1>Build log was saved at "file://d:\My Documents\downloads\Kryticalv5FIXED\MapleStoryServer\Release\BuildLog.htm"
1>MapleStoryServer - 1 error(s), 0 warning(s)

playerinventory.cpp

#include "PlayerInventory.h"
#include "InventoryPacket.h"
#include "Player.h"
#include "Inventory.h"

void PlayerInventory::setMesos(int mesos, bool is){
this->mesos=mesos;
InventoryPacket::newMesos(player, mesos, is);
}

void PlayerInventory::plusEquipState(Player *player, int equipid, int watk, int wdef, int matk, int mdef, int str, int dex, int intt, int luk, int acc, int avo, int speed, int jump, int hp, int mp){
short pos = player->inv->getEquip(equipid)->pos;
player->inv->setEquipPos(equipid, 0);//Equip -> slot 0
equips[equipid]->iwatk+=watk;
equips[equipid]->iwdef+=wdef;
equips[equipid]->imatk+=matk;
equips[equipid]->imdef+=mdef;
equips[equipid]->istr+=str;
equips[equipid]->idex+=dex;
equips[equipid]->iint+=intt;
equips[equipid]->iluk+=luk;
equips[equipid]->iacc+=acc;
equips[equipid]->iavo+=avo;
equips[equipid]->ispeed+=speed;
equips[equipid]->ijump+=jump;
equips[equipid]->ihp+=hp;
equips[equipid]->imp+=mp;
equips[equipid]->slots--;
equips[equipid]->pos=pos; //Equip
InventoryPacket::addEquip(player, equips[equipid], 1);
InventoryPacket::updatePlayer(player);
}
 
Status
Not open for further replies.
Back