Register for your free account! | Forgot your password?

You last visited: Today at 22:12

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP]Market Vending

Discussion on [HELP]Market Vending within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 11/22/2008, 01:03   #31
 
Ultimatum's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 277
Received Thanks: 52
Quote:
Originally Posted by Tw3ak View Post
So your 1 of the ones that mangles everyones elses source and passes it off as your own?? lol

Any source edit i have seen from copals was worse off after you guys touched it then it was before lol
Agreed
Ultimatum is offline  
Old 11/22/2008, 13:25   #32
 
elite*gold: 0
Join Date: Jun 2008
Posts: 97
Received Thanks: 6
aha
valyy is offline  
Old 11/22/2008, 16:10   #33
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Whats the big deal with coding stuff like this atm anyway?, its nowhere near anything important. i believe QO had it for like 2 years and nobody even used them. theres FAR more important stuff you need to work on before adding pointless extras.
© Haydz is offline  
Old 11/22/2008, 16:22   #34
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Quote:
Originally Posted by © Haydz View Post
Whats the big deal with coding stuff like this atm anyway?, its nowhere near anything important. i believe QO had it for like 2 years and nobody even used them. theres FAR more important stuff you need to work on before adding pointless extras.
Yeah, like a server that doesn't crash after 30 minutes!
tao4229 is offline  
Old 12/15/2008, 20:58   #35
 
elite*gold: 0
Join Date: Dec 2006
Posts: 34
Received Thanks: 17
i have Complete Vending - not Exit Button

I also have this problem
I think that this problem may be that when the market enters pj
At no time did he indicate that this map is not pk, so I think the exit button will automatically appear when the client knows that the map in which this is the menrcado

Somebody can help us?
jingt is offline  
Old 11/03/2009, 14:32   #36
 
elite*gold: 0
Join Date: Dec 2006
Posts: 34
Received Thanks: 17
A long time past, as no one to indicate a pronounced problem in which aparéese not button output on the market when you start to sell, give the solution
For starters when you go to a map of PK prohibited must indicársele the player if it is, after reviewing the package I found quite needed for this was the Mini-(as I had called)

_________tama_Type_Map_____Map______Flag
_________'1000 5604 0c04 0000 0c04 0000 1C00 0000 PK prohibited Map
_________'1000 5604 0c04 0000 0c04 0000 0060 0000 normal map

A look indicated the type of map that we, the exit button to exit automatically stop selling

I hope something will help my contribution, the client server version I use is the 8023 Spanish conquest, with some patches that you ise
*******************************************
A pasado bastante tiempo, como nadie se a pronunciado para indicar el problema por el cual no aparéese el botón de salida, en el mercado cuando uno empieza a vender, daré la solución
Para empezar cuando uno va a un mapa de PK prohibido tiene que indicársele al jugador que si lo es, luego de revisar bastante descubrí que el paquete necesario para ello era el MiniMapa-(como yo lo había llamado)

_________tama_Tipo_Mapa_____Mapa____Bandera
_________'1000 5604 0c04 0000 0c04 0000 1c00 0000 Mapa PK prohibido
_________'1000 5604 0c04 0000 0c04 0000 0060 0000 Mapa normal

Una ves indicado el tipo de mapa en el que nos encontramos, el boton exit , para dejar de vender saldra automaticamente

Espero les ayude en algo mi aportacion, la version de servidor cliente que uso es la 8023 del conquista español, con algunas parches que le ise
*******************************************
jingt is offline  
Old 11/03/2009, 19:46   #37
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
To add Market Vending you will need new packs (ETC packs or what ever they named)
Fish* is offline  
Old 11/04/2009, 00:06   #38
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by InfamousNoone View Post
Start Vending - 0x3F2.cs

Code:
using System;
using System.Collections.Generic;
using System.Native;
using Conquer.Client;
using Conquer.SQL;
using Conquer.Structures;
using Conquer.Packets;
using Conquer.Processor.Items;

namespace Conquer.Processor.Packets
{
    public unsafe partial class PacketProcessor
    {
        public static void StartVending(GameClient Client, DataPacket* Packet)
        {
            if (!Client.VendingInfo.IsVending && Client.Entity.MapID == Constants.MarketMapID)
            {
                Dictionary<uint, ConquerNpc> mapNpcs = null;
                if (Database.Npcs.TryGetValue(Client.Entity.MapID, out mapNpcs))
                {
                    foreach (KeyValuePair<uint, ConquerNpc> entry in mapNpcs)
                    {
                        if (entry.Value.X == Client.Entity.Data.X - 2 && entry.Value.Y == Client.Entity.Data.Y)
                        {
                            ConquerNpc npc = entry.Value;
                            npc.ConvertToVendNpc(Client);
                            mapNpcs[npc.UID] = npc;
                            Client.VendingInfo.IsVending = true;
                            Client.VendingInfo.ShopID = npc.UID;

                            SendRangePacket.Add(Client.Entity, Constants.ViewDistance, 0, &npc, npc.Size, null);
                            Packet->dwParam = Client.VendingInfo.ShopID;
                            Client.Send(Packet, Packet->Size);
                            break;
                        }
                    }
                }
            }
        }
    }
}
and where might that be located at o.0?n00b here and n00b question i know XD
killersub is offline  
Old 11/04/2009, 11:57   #39
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
Make a new cs file and call it 0x3F2.cs
He says it right here:
Quote:
Originally Posted by InfamousNoone
Start Vending - 0x3F2.cs
Fish* is offline  
Old 11/04/2009, 14:15   #40
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
grillmad u fail...
~Yuki~ is offline  
Old 11/04/2009, 14:59   #41


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by killersub View Post
and where might that be located at o.0?n00b here and n00b question i know XD
Thats an example, you have to write your own for your source, or modify that to work with your source.

Although the packet has probably changed since that was posted 18 months ago.
Korvacs is offline  
Reply


Similar Threads Similar Threads
[Question] Source with Market Vending
06/18/2010 - CO2 Private Server - 6 Replies
hello does anyone know a source (5017) that got fixed market vending?
[Question] market vending in 5017
06/16/2010 - CO2 Private Server - 6 Replies
hello, could anyone tell me if its possible to code market vending in 5017? if yes then could u tell me hiw? or a link for a source who got it xD
[help] 5017 market vending
09/27/2009 - CO2 Private Server - 11 Replies
hello anyone know how to fix the market in a 5017 source that you can vending?
How do you add market? (vending) (probably no one will answer)
11/24/2008 - CO2 Private Server - 12 Replies
Ok I was wondering how do you add market? In a lot of servers I see they all have markets and I didn't think it was possible yet... PROLBABLY No one will answer this because it's most likely rare but it's worth a try =/ Thanks,
Vending?
10/29/2004 - Ragnarok Online - 3 Replies
hi, i have revemu (0.95) i was wondering how i use my bot to vend (because when i try to vend regulary my bros a diff game and my rag crashes) ANY help appreciated ;) Iam new to vending with a bot ty all



All times are GMT +2. The time now is 22:12.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.