Raised This Month: $ Target: $400
 0% 

Redirect Menu Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 03-25-2012 , 23:53   Re: Redirect Menu Problem
Reply With Quote #11

Quote:
Originally Posted by Emp` View Post
A trie would not be useful here; you would want to use an array.

Array: number index -> value
Trie: string index -> value

Here you are using a number to index between string values, not a string to index the corresponding values.
ive always had issues with using the dynamic arrays so i kinda gave up on them.

I was also told using the trie is more efficient.

Last edited by Doc-Holiday; 03-25-2012 at 23:53.
Doc-Holiday is offline
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 03-26-2012 , 13:45   Re: Redirect Menu Problem
Reply With Quote #12

Doc-Holiday, can you add two functions:

1. How many players are in the server.
2. Which map it play now.
Lolz0r is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 03-26-2012 , 17:11  
Reply With Quote #13

Ive been playing with that using exolents server comm include. I haven't figured out how to show it on the menu i can get the info but its on an unknown delay so not sure how to do it.. But ill keep playing with it and figure it out.
Doc-Holiday is offline
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 04-01-2012 , 11:16   Re: Redirect Menu Problem
Reply With Quote #14

Quote:
Originally Posted by Doc-Holiday View Post
Ive been playing with that using exolents server comm include. I haven't figured out how to show it on the menu i can get the info but its on an unknown delay so not sure how to do it.. But ill keep playing with it and figure it out.
It would be good to do this, menu example:

Code:
Select server:

1. Doc-Holiday Server #1
2. Doc-Holiday Server #2
3. Doc-Holiday Server #3

0. Exit
When choosing a server to display a new menu that looks like this:

Code:
Server name is Doc-Holiday Server #1
Server ip adresses is 77.777.777.77:27017

1. Status: Offline/Online
2. Players: 
3. Map:
4. Redirect 

9. Back
0. Exit
Thanks advance.
Lolz0r is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 04-01-2012 , 15:58   Re: Redirect Menu Problem
Reply With Quote #15

Again i havent been able to get the server comm thing to work correctly when adding menu items

I can get the information between the servers but... its delay is unpredictable and i haven't figure out how to make the menu items int he call back.. but ill continue playing with it for now.
Doc-Holiday is offline
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 04-01-2012 , 17:16   Re: Redirect Menu Problem
Reply With Quote #16

Quote:
Originally Posted by Doc-Holiday View Post
...but ill continue playing with it for now.
I hope to find a way!
Lolz0r is offline
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 05-01-2012 , 16:50   Re: Redirect Menu Problem
Reply With Quote #17

Doc-Holiday, did you find a way?
Lolz0r is offline
NeedYourHelp
Member
Join Date: Dec 2011
Old 05-02-2012 , 11:33   Re: Redirect Menu Problem
Reply With Quote #18

Quote:
Originally Posted by Lolz0r View Post
Doc-Holiday, did you find a way?
I worked on it... But not succeed..
You should use "sockets"..
In this way..:

1. socket_open
2. socket_send
3. let some time go by
4. while ( socket_change() ) socket_recv()
5. socket_close

If someone help me to build it i will be happy.. i try a lot of time...
NeedYourHelp is offline
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 05-02-2012 , 15:35   Re: Redirect Menu Problem
Reply With Quote #19

Quote:
Originally Posted by NeedYourHelp View Post
I worked on it... But not succeed..
You should use "sockets"..
In this way..:

1. socket_open
2. socket_send
3. let some time go by
4. while ( socket_change() ) socket_recv()
5. socket_close

If someone help me to build it i will be happy.. i try a lot of time...
I hope it's not very hard and someone, who can work with sockets will make it.

Last edited by Lolz0r; 05-02-2012 at 15:36.
Lolz0r is offline
BeeFighter
Member
Join Date: Feb 2012
Old 05-02-2012 , 16:22   Re: Redirect Menu Problem
Reply With Quote #20

Quote:
Originally Posted by Lolz0r View Post
It would be good to do this, menu example:

Code:
Select server:

1. Doc-Holiday Server #1
2. Doc-Holiday Server #2
3. Doc-Holiday Server #3

0. Exit
When choosing a server to display a new menu that looks like this:

Code:
Server name is Doc-Holiday Server #1
Server ip adresses is 77.777.777.77:27017

1. Status: Offline/Online
2. Players: 
3. Map:
4. Redirect 

9. Back
0. Exit
Thanks advance.
You are wanting the same as xRedirect, Do I smell something?
__________________
www.Gstar-Gaming.net

Servers:
Jailbreak
HidenSeek
Knife
Deathrun
Public

Join us now: www.gstar-gaming.net
BeeFighter is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode