ahmedsuffian / aionxemu

Automatically exported from code.google.com/p/aionxemu
0 stars 0 forks source link

ingameshops source with all the java+SQL #268

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ingameshops source with all the java+SQL

ingameshop launch: 

start aion.bin -ip:127.0.0.1 -ng -port:2106 -cc:1 -lang:ENU -noweb -ingameshop

Original issue reported on code.google.com by zoreph...@googlemail.com on 12 Apr 2011 at 12:25

Attachments:

GoogleCodeExporter commented 9 years ago
Can you provide the diff/patch files of the changes it makes to the most 
current AionXEmu revision?

See:
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-patch.html

Original comment by ZeroSign...@gmail.com on 12 Apr 2011 at 4:03

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Issue 269 has been merged into this issue.

Original comment by ZeroSign...@gmail.com on 14 Apr 2011 at 10:34

GoogleCodeExporter commented 9 years ago
zoreph click on the link I gave you, it contains a tutorial on how to create 
Patch files with TortoiseSVN.

Original comment by ZeroSign...@gmail.com on 14 Apr 2011 at 10:35

GoogleCodeExporter commented 9 years ago
its not complete right?? from quick see, it didn't include 
SM_INGAMESHOP_BALANCE .....and maybe the other....

Original comment by freiya_d...@hotmail.com on 14 Apr 2011 at 12:20

GoogleCodeExporter commented 9 years ago
Issue 281 has been merged into this issue.

Original comment by cocain...@gmail.com on 15 Apr 2011 at 12:50

GoogleCodeExporter commented 9 years ago
There are many problems with this... A lot of java files have wrong .com. 
directories..

Original comment by alejsimp...@gmail.com on 16 Apr 2011 at 6:10

GoogleCodeExporter commented 9 years ago
import gameserver.network.aion.serverpackets.SM_INGAMESHOP_BALANCE; DOES NOT 
EXIST

Original comment by alejsimp...@gmail.com on 16 Apr 2011 at 6:31

GoogleCodeExporter commented 9 years ago
can we have any news from the poster ?

Original comment by gre...@gmail.com on 1 May 2011 at 10:34

GoogleCodeExporter commented 9 years ago
all .sql are wrong need fix sql

Original comment by apophis1...@gmail.com on 2 May 2011 at 3:35

GoogleCodeExporter commented 9 years ago
I managed to implement it.

but as you can see I support any item :(

why he charged me nothing in my console when I load 2 items??

Original comment by apophis1...@gmail.com on 2 May 2011 at 9:25

Attachments:

GoogleCodeExporter commented 9 years ago
Forget this sry ^^

Original comment by apophis1...@gmail.com on 2 May 2011 at 9:30

Attachments:

GoogleCodeExporter commented 9 years ago
As explained above I managed to implement this system, but someone must help me 
to code this in the following passage "CashShopManager"

Because it does not give the items in game and I think it is related to 
"CashShopManager"

because if you force this passage he does not recognize the variable "money" 
and the variable "letter"

public void buyItem(Player player, int id, int count)
{
    ShopItem item = getItem(id);
    if(item == null || player.money < item.price)
    return;
    player.inventory.addItem(item.itemId, item.count, true, true);
    player.money -= item.price;
    player.spendMoney += item.price;
    player.sendPacket(new SM_INGAME_SHOP_BALANCE(player.money));
}

public void giftItem(Player player, int id, int count, String receiver, String 
message)
{
    ShopItem item = getItem(id);
    if(item == null)
        return;
    Letter letter = new Letter(IdFactory.getInstance().getNextId());
    letter.sender = "$$CASH_ITEM_MAIL";
    letter.title = "";
    letter.message = "";
    letter.money = 0;
    letter.attach = ItemsManager.getInstance().createItem(player,
item.itemId, item.count);
    letter.time = System.currentTimeMillis() / 1000;
    letter.attach.slotType = SlotType.MAIL;
    player.inventory.saveItem(letter.attach);
    player.mail.addLetter(letter);*/
}

Original comment by apophis1...@gmail.com on 2 May 2011 at 2:31

GoogleCodeExporter commented 9 years ago
Obviously, we're missing an object named letter, which could be passed to the 
player.mail.addLetter()

I guess it's a shortcut for the MailService.

Plus, we're missing a model.gameobjects.player.Player attribute (money and 
spendMoney) which are loaded from the account data.

So all we have to do.. is to rewrite a bit the CashShopManager, Player model, 
Account model and DAO (we have to load the account the money data from the 
database), and to write something like the Letter object and the addLetter 
method or disable the gift function.

If you give me enough data to work with, i can dev it.

Original comment by gre...@gmail.com on 2 May 2011 at 4:12

GoogleCodeExporter commented 9 years ago
Go Skype so

Original comment by apophis1...@gmail.com on 3 May 2011 at 6:51

GoogleCodeExporter commented 9 years ago
My skype's name : Grepsd

Original comment by gre...@gmail.com on 3 May 2011 at 1:32

GoogleCodeExporter commented 9 years ago
Hello guys, i am working on this too. Maybe we should work together. My skype's 
name : Zephiroth2577 (can't talk in english, but i can write)

Original comment by kevin.bo...@gmail.com on 9 May 2011 at 8:10

GoogleCodeExporter commented 9 years ago
http://www.aionxemu.com/viewtopic.php?f=6&p=14648#p14648

Original comment by pziko...@gmail.com on 25 May 2011 at 6:13

GoogleCodeExporter commented 9 years ago
good job pziko but i'm not tester yet so i can't see the attach file... can you 
give me download link for this patch to fredogemilang@yahoo.com... i'm so glad 
if you can send me the patch file, i will test it and soon will give you 
feedback from my test...
sorry for my bad english...

Original comment by fredogemilang on 7 Jun 2011 at 8:23

GoogleCodeExporter commented 9 years ago
Apply for a tester or wait for it to be committed to the SVN.

Original comment by cocain...@gmail.com on 8 Jun 2011 at 3:44

GoogleCodeExporter commented 9 years ago

Original comment by pziko...@gmail.com on 21 Jun 2011 at 9:21