Posts: 245
Threads: 79
Joined: Feb 2013
(10-08-2013, 17:11)SailorMoon Wrote: (10-08-2013, 16:31)[HARD] Tony. Wrote: (10-08-2013, 12:14)clacki Wrote: sailor moon...
your plugin is good..
but have bug's
when i restart map or change map i can't press Q to show shop list...
when this bug fixed?
ThaNks
I will fix it, but you have to wait when my mom returns access to my computer
Your friend will*. Damn poser.
Sorry guys, I can't update it.
lazy ass
Posts: 3,704
Threads: 147
Joined: Jan 2011
Reputation:
119
(10-08-2013, 19:37)[HARD] Tony. Wrote: (10-08-2013, 17:11)SailorMoon Wrote: (10-08-2013, 16:31)[HARD] Tony. Wrote: (10-08-2013, 12:14)clacki Wrote: sailor moon...
your plugin is good..
but have bug's
when i restart map or change map i can't press Q to show shop list...
when this bug fixed?
ThaNks
I will fix it, but you have to wait when my mom returns access to my computer
Your friend will*. Damn poser.
Sorry guys, I can't update it.
lazy ass
No. Just because I don't want to install windows.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Posts: 144
Threads: 5
Joined: Dec 2012
Reputation:
3
(10-08-2013, 16:31)[HARD] Tony. Wrote: I will fix it, but you have to wait when my mom returns access to my computer
hahaha
Posts: 3,704
Threads: 147
Joined: Jan 2011
Reputation:
119
10-09-2013, 14:45
(This post was last modified: 10-09-2013, 14:45 by Nekochan.)
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Posts: 60
Threads: 8
Joined: Aug 2013
Reputation:
0
Posts: 48
Threads: 7
Joined: Nov 2013
Reputation:
0
I copied your code, no mistakes, just at the beginning:
Code: public override ChatType OnSay(string Message, ServerClient Client, bool Teamchat)
{
int points = getPoints(Client.XUID);
ToDo(Client, Message, points);
return base.OnSay(Message, Client);
}
Statistics stats;
int pointstokill = 100;
}
public override int OnPlayerDamaged(ServerClient Attacker, ServerClient Victim, String Weapon, Int32 Damage, String DamageMod)
{
if (Damage >= Victim.Other.Health && Attacker.Team != Victim.Team)
{
UpdatePoints(pointstokill, Victim);
}
return base.OnPlayerDamaged(Attacker, Victim, Weapon, Damage);
}
public override void OnServerLoad()
{
stats = new Statistics();
SV_Shop();
base.OnServerLoad();
}
public override void OnAddonFrame()
{
Update();
base.OnAddonFrame();
}
public void UpdatePoints(int inc, ServerClient c)
{
stats.updatePoints(inc, c);
}
public int getPoints(String XUID)
{
return stats.Stats[XUID].Points;
}
There are mistakes at all the int's and void's of the public override.
And it doesn't know getPoints(Client.XUID), ToDo(Client, Message, points); Statistics stats; and XUID
I allready added addon.dll and System.Data.SQLite.dll
Posts: 3,704
Threads: 147
Joined: Jan 2011
Reputation:
119
'getPoints' & 'ToDo' are methods from my code. Use CTRL+F ( or cmd+f ) to find them.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Posts: 48
Threads: 7
Joined: Nov 2013
Reputation:
0
Is it normal, that the points doesn't get updatet after buying smth?
Posts: 299
Threads: 1
Joined: Aug 2013
Reputation:
10
(12-20-2013, 17:26)xxxLik3aB0SSxxx Wrote: Is it normal, that the points doesn't get updatet after buying smth?
the moonlight shop has a bug.. sailormoon hasn't fixed it yet.
|