LuckyTime Not Work in Market !

10/22/2009 12:44 MeYuly14#1
Hey Anyone Can help me? in my server co emu v2 lucky time not start in MARKET !!


Market
ID MAP - 1036


anyone know why dont work in market ?

w8 message from anyone know that or post here

thx epvp
10/22/2009 13:01 ~*NewDuuDe*~#2
Just look through your luckytime code and see if that map id is mentioned. Maybe the one who coded it did'nt want luckytime in market due to lag or something like that.
10/22/2009 15:04 MeYuly14#3
case 9876:
{
#region LuckyTime
Dictionary<int, int> Targets = new Dictionary<int, int>();
Targets.Add(CSocket.Client.ID, 0);
CSocket.Client.LuckyTiming = DateTime.Now;
ConquerPacket.ToLocal(ConquerPacket.MagicAttack(CS ocket.Client.ID, Spell.ID, 0, Targets, CSocket.Client.X, CSocket.Client.Y), CSocket.Client.X, CSocket.Client.Y, (int)CSocket.Client.Map, 0, 0);
CSocket.Client.CastingPray = true;
CSocket.Client.Praying = false;
CSocket.Client.Action = 100;
CSocket.Client.LuckyTimeID = CSocket.Client.ID;
ConquerPacket.ToLocal(ConquerPacket.Status(CSocket , 2, 0, Struct.StatusTypes.StatusEffect), CSocket.Client.X, CSocket.Client.Y, (int)CSocket.Client.Map, 0, 0);
break;
#endregion

look id ..:| i dont find why dont work in market !! you can help me?
10/22/2009 15:07 MeYuly14#4
case 9876:
{
#region LuckyTime
Dictionary<int, int> Targets = new Dictionary<int, int>();
Targets.Add(CSocket.Client.ID, 0);
CSocket.Client.LuckyTiming = DateTime.Now;
ConquerPacket.ToLocal(ConquerPacket.MagicAttack(CS ocket.Client.ID, Spell.ID, 0, Targets, CSocket.Client.X, CSocket.Client.Y), CSocket.Client.X, CSocket.Client.Y, (int)CSocket.Client.Map, 0, 0);
CSocket.Client.CastingPray = true;
CSocket.Client.Praying = false;
CSocket.Client.Action = 100;
CSocket.Client.LuckyTimeID = CSocket.Client.ID;
ConquerPacket.ToLocal(ConquerPacket.Status(CSocket , 2, 0, Struct.StatusTypes.StatusEffect), CSocket.Client.X, CSocket.Client.Y, (int)CSocket.Client.Map, 0, 0);
break;
#endregion
10/22/2009 18:04 pro4never#5
simple answer is that skills are dissabled in market in the source you are using.

(or that's what it appears to be, you can't use other skills there can you?)


Search around the source for the market map number (or it may use the actual name, I know coemu uses names for alot of its allow/dissalow stuff) then add an exception for that skill so that it can be used there (same with buff skills if you want, or xp skills or just about anything you want to allow in market)

I know I did something similar to remove all skills from a certain map so players couldn't use anything except melee (even bows didn't work) on a boss monster xD
10/22/2009 18:08 blade911#6
It's message not mesaje
10/22/2009 19:54 MeYuly14#7
lol blade:| ...:)) you dont help me
09/21/2010 16:50 ZeRo-ToLeRaNcE#8
i have find this in teleport.cs:

Code:
if (Loc.Map == 1036)
                MyClient.AddSend(Packets.MapStatus(Loc.Map, 30));
            else
                MyClient.AddSend(Packets.MapStatus(Loc.Map, 2080));
            World.Spawns(this, false);
it seems that the

Code:
MyClient.AddSend(Packets.MapStatus(Loc.Map, 30));
does disable it but i can not debug that part of packet send.

i have look around the market number, but i come here.
09/21/2010 17:28 Fish*#9
dont bump old thread.

#reported

and searching for luckytime in teleport.cs
thats smart
:facepalm:

I would look in skills.cs or character.cs