Register for your free account! | Forgot your password?

You last visited: Today at 00:01

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

Advertisement



[Release]Dynamic Maps(5165 Houses)

Discussion on [Release]Dynamic Maps(5165 Houses) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 09/24/2010, 03:01   #46
 
elite*gold: 0
Join Date: Sep 2010
Posts: 17
Received Thanks: 0
help me when i make house it says "connecting to server"
hagard11 is offline  
Old 11/07/2010, 08:28   #47
 
elite*gold: 0
Join Date: Oct 2008
Posts: 29
Received Thanks: 4
The problem with this is that the client must be updated with each new house that is not ideal.

the solution is in implementing this somehow controlling spawning and NPC to identify the place where you are.
albert0 is offline  
Old 11/07/2010, 17:50   #48
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Quote:
Originally Posted by albert0 View Post
The problem with this is that the client must be updated with each new house that is not ideal.

the solution is in implementing this somehow controlling spawning and NPC to identify the place where you are.
Map instancing is quite simple. In all of your entities just have a instance number with a default value of 0 (not in instance).

When spawning clients simply check if the entity to spawn is on same instance as yourself, if not do not spawn (same with attacking, trading, etcetcetc)

Then when you want to be in a house or w/e just have your teleport method allow for an instance number (for simplicity I'd set the instance number to entity uid)

That way if you want to send another user to their instance you use their uid in the teleport method.

Simple stuff really, no need for any sort of extra dmaps or dictionaries of maps.
pro4never is offline  
Old 11/07/2010, 22:28   #49
 
elite*gold: 0
Join Date: Oct 2008
Posts: 29
Received Thanks: 4
Quote:
Originally Posted by pro4never View Post
Map instancing is quite simple. In all of your entities just have a instance number with a default value of 0 (not in instance).

When spawning clients simply check if the entity to spawn is on same instance as yourself, if not do not spawn (same with attacking, trading, etcetcetc)

Then when you want to be in a house or w/e just have your teleport method allow for an instance number (for simplicity I'd set the instance number to entity uid)

That way if you want to send another user to their instance you use their uid in the teleport method.

Simple stuff really, no need for any sort of extra dmaps or dictionaries of maps.
I agree with you. sometimes it's hard for me to understand some things from this forum (I'm Dominican).

but yes I understand, we should only use an ID for identification.
albert0 is offline  
Old 01/29/2011, 19:41   #50
 
elite*gold: 0
Join Date: Feb 2010
Posts: 7
Received Thanks: 1
Hey,
I got a error in this

if (mapneed == MapID)
{
ushort NewMapID = mapadd;
DMap D = new DMap(NewMapID, Path);
H_DMaps.Add(NewMapID, D);
H_DMaps.Add(NewMapID, mapneed);
MapOwner.Add(Convert.ToInt32(ownerid), NewMapID);
addedmap = true;
break;
}


When i buy a house then is nothing happens
I got a error in the Newestco Server! COnclose please help
mraggie14 is offline  
Old 01/29/2011, 20:34   #51
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by mraggie14 View Post
Hey,
I got a error in this

if (mapneed == MapID)
{
ushort NewMapID = mapadd;
DMap D = new DMap(NewMapID, Path);
H_DMaps.Add(NewMapID, D);
H_DMaps.Add(NewMapID, mapneed);
MapOwner.Add(Convert.ToInt32(ownerid), NewMapID);
addedmap = true;
break;
}


When i buy a house then is nothing happens
I got a error in the Newestco Server! COnclose please help
what is the error? Or do we just have to guess?
.Beatz is offline  
Old 02/02/2011, 08:57   #52
 
elite*gold: 0
Join Date: Feb 2010
Posts: 7
Received Thanks: 1
When I buy a house and i give him the HousePermit and 100,000 silvers.
And i click on ''Go Home'' and nothing happends.
And i got a error in my Conclose ''NewestCo Server''
mraggie14 is offline  
Old 02/02/2011, 11:25   #53
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by mraggie14 View Post
When I buy a house and i give him the HousePermit and 100,000 silvers.
And i click on ''Go Home'' and nothing happends.
And i got a error in my Conclose ''NewestCo Server''
You have not added it correctly, go back and read through the guide again...
Sounds like you have missed something
.Beatz is offline  
Old 02/02/2011, 15:59   #54
 
elite*gold: 0
Join Date: Feb 2010
Posts: 7
Received Thanks: 1
hey beatz add me on messenger :
I am from holland
Every time i got a error in the NPCDialog.cs

no i have fix it

but i have a another problem.
When i click on ''Go Home''
Then it says ''Connecting to the server.... Please wait''
And it freeze's
Please help me
mraggie14 is offline  
Old 02/02/2011, 17:18   #55
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by mraggie14 View Post
hey beatz add me on messenger :
I am from holland
Every time i got a error in the NPCDialog.cs
Quote:
Originally Posted by mraggie14 View Post
no i have fix it

but i have a another problem.
When i click on ''Go Home''
Then it says ''Connecting to the server.... Please wait''
And it freeze's
Please help me
1) #Reported - Double Posting

2) My msn address is my signature for a reason... If people want help they should add me not the other way around
.Beatz is offline  
Old 02/02/2011, 17:49   #56
 
elite*gold: 0
Join Date: Feb 2010
Posts: 7
Received Thanks: 1
When i click on ''Go Home''
Then it says ''Connecting to the server.... Please wait''
And it freeze's

Please that is my little problem
How can i fix that problem
And sorry for the Double Posting
mraggie14 is offline  
Thanks
1 User
Old 02/03/2011, 01:22   #57
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by mraggie14 View Post
How can i fix the problem?
Quote:
Originally Posted by mraggie14 View Post
When i click on ''Go Home''
Then it says ''Connecting to the server.... Please wait''
And it freeze's

Please that is my little problem
How can i fix that problem
And sorry for the Double Posting
Quote:
Originally Posted by mraggie14 View Post
anybody?
Have you added the maps?

Sounds like you have not added them to the source/client

#Reported - Triple Posting

I would not be surprised if you get banned as in the last couple of days you have broken the rules twice and been reported for the same thing twice!
.Beatz is offline  
Old 02/03/2011, 10:55   #58
 
elite*gold: 0
Join Date: Feb 2010
Posts: 7
Received Thanks: 1
no, i have fixed the problem but i cannot ad furni's in the house
How can i fix that ?
I have a ItemBox buyed from the Furniture amdin
And the i go to my house.
And i can't ad furni's in the house
Who can help me?
mraggie14 is offline  
Old 07/27/2019, 16:02   #59
 
elite*gold: 0
Join Date: Aug 2010
Posts: 940
Received Thanks: 76
So sorry to necro the hell out of this but I'm getting the stupid connecting to server issue without actually getting into my house, yes maps are loading and yes they are added to oldcodb and also in the client so why is there no house?
denominator is offline  
Old 07/28/2019, 02:18   #60
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 946
Quote:
Originally Posted by denominator View Post
So sorry to necro the hell out of this but I'm getting the stupid connecting to server issue without actually getting into my house, yes maps are loading and yes they are added to oldcodb and also in the client so why is there no house?
Don't use this for dynamic maps anyway or for map implementations at all.

Just do what most other newer sources do ex.






And the error you are getting is usually the result of an invalid map id on the client side though.

That's why this implementation of maps won't work and you need something better.

Ex. the above will always have unique ids for the map on the server side BUT it will always have a valid map id for the client side.
Super Aids is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[RELEASE] Conquer Online Launcher (Run your conquer server on a Dynamic IP!)
07/09/2013 - Conquer Online 2 - 6 Replies
http://i37.tinypic.com/2053uok.png Small application i created, Basically its for people who want to run a private server and they have a dynamic IP and because Conquer doesn't accept hostnames such as (No-ip.org) i have created this. It simply gets the hostname from config.ini and gets the ip address then writes the ip address to server.dat then runs conquer. How to use: Open config.ini, 1. Edit the darkviper.servegame.org to your hostname (etc blahblah.no-ip.org) 2. Edit...
[Koordinaten] Alle Maps ; Neue Maps ; Unbekannte Maps.
04/08/2013 - Metin2 PServer Guides & Strategies - 28 Replies
Hallu o.o Das Tool von Eddy˛ hat mich auf die Idee gebracht, alle Orte mal aufzulisten, mit den Koordinaten die man brauch um sich dahin zu teleportieren ;D Rotes Reich Map1 /warp 4742 9544 Rotes Reich Map2 /warp 3529 8825
How to add Dynamic Maps(5165 Houses) in conquer-sx's source?
07/06/2010 - CO2 Private Server - 0 Replies
like my title ... I'm see the Arco's shared method ... but it don't work on... when i go home .... the client display
[Help] 5165 adding music 2 certain maps
01/03/2010 - CO2 Private Server - 12 Replies
i was wondering if any1 knew how 2 add music 2 certain maps that are not allready programed 2 play music? :pimp:



All times are GMT +2. The time now is 00:01.


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.