Raised This Month: $ Target: $400
 0% 

Does not show anything line 6


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 08-13-2014 , 13:19   Re: Does not show anything line 6
Reply With Quote #1

Quote:
Originally Posted by fysiks View Post
You can reduce the number of characters being used per page . . . this was said already. What other answer are you expecting? If you are asking for an alternative to a menu then you haven't given enough information. What is the purpose of this menu/plugin?
Now I checked the code again, the problem is that I do not get the + Last Name of Admin Login.
It absorbs my only Admin Steam Sets
if i set my admin on IP it does not look and name Last Login shares


I am now trying to build the menu in formatex-charmax
So you can set each row
Code:
formatex( ..., charsmax( .... ), "\w%s \wLast name: \y%s \wLast login: \y%s", AdminData [AuthData], LKname, LKlogin
It will have problems in LINES?

Last edited by Fuck For Fun; 08-13-2014 at 13:21.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 08-13-2014 , 14:46   Re: Does not show anything line 6
Reply With Quote #2

There is a maximum number of characters you can display in a menu. No matter how your format them, what menu style you use or if you bend over backwards: If you go over the character limit the menu will be truncated. Use less items per page or cut down on the amount of text you display for each player, there is no other way.
__________________
In Flames we trust!
Nextra is offline
Eagle07
Veteran Member
Join Date: May 2014
Location: Morocco :D
Old 08-13-2014 , 15:19   Re: Does not show anything line 6
Reply With Quote #3

PHP Code:
formatex(Buffer159"\w%s \d| \r-\wLast name: \y%s \d| \r-\wLast login: \y%s"AdminData[AuthData], LKnameLKlogin 

PHP Code:
formatex(Buffercharsmax(Buffer), "\w%s \d| \r-\wLast name: \y%s \d| \r-\wLast login: \y%s"AdminData[AuthData], LKnameLKlogin 
__________________

Last edited by Eagle07; 08-13-2014 at 15:53.
Eagle07 is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 08-13-2014 , 15:46   Re: Does not show anything line 6
Reply With Quote #4

Quote:
Originally Posted by Eagle07 View Post
PHP Code:
formatex(Buffer159"\w%s \r-\wLast name: \y%s \r-Last login: \y%s"AdminData[AuthData], LKnameLKlogin 

PHP Code:
formatex(Buffer159"\w%s \d| \r-\wLast name: \y%s \d| \r-\wLast login: \y%s"AdminData[AuthData], LKnameLKlogin 
O_O?

what u doing ?
read my thread, i cant see the admin stats of line 6,7,8 and nextpage 9

they said - maximum number of characters, so what can i do?

Last edited by Fuck For Fun; 08-13-2014 at 15:46.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Eagle07
Veteran Member
Join Date: May 2014
Location: Morocco :D
Old 08-13-2014 , 15:50   Re: Does not show anything line 6
Reply With Quote #5

Quote:
Originally Posted by Fuck For Fun View Post
O_O?

what u doing ?
read my thread, i cant see the admin stats of line 6,7,8 and nextpage 9

they said - maximum number of characters, so what can i do?
Lol Use Charsmax

Quote:
formatex(Buffer, 159

Quote:
formatex(Buffer, charsmax(Buffer)
__________________

Last edited by Eagle07; 08-13-2014 at 15:52.
Eagle07 is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 08-13-2014 , 20:46   Re: Does not show anything line 6
Reply With Quote #6

Quote:
Originally Posted by Fuck For Fun View Post
O_O?
they said - maximum number of characters, so what can i do?
I told you multiple times. It is not possible to increase the character limit as it is mandated by the engine. So you have two options:

  1. Display less information, cutting down on text. Maybe put the Name together like so: "Name: Firstname Lastname Last Login: Date". You can also consider a sub-menu that would display additional information like latest login date instead of displaying it all at once.
  2. Display only 5 or even 4 items per page. You don't have to build a menu that puts 7 items + pagination and exit button on one page. Set MPROP_PERPAGE to 4/5 if you use newmenus and it will paginate automatically after 4/5 items, allowing it to display properly.
And please try to read more carefully what people tell you. This thread is a huge annoyance because you basically ignored my advice thrice now. We have to deal with engine limitations all the time in AMXX coding and sometimes there is stuff you simply can not do. Accept it, and listen when people take their time to explain these things to you, especially if other users come in and verify their claims. Chances are they know what they are talking about.
__________________
In Flames we trust!

Last edited by Nextra; 08-13-2014 at 20:48.
Nextra is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 08-14-2014 , 11:56   Re: Does not show anything line 6
Reply With Quote #7

Quote:
Originally Posted by Nextra View Post
I told you multiple times. It is not possible to increase the character limit as it is mandated by the engine. So you have two options:

  1. Display less information, cutting down on text. Maybe put the Name together like so: "Name: Firstname Lastname Last Login: Date". You can also consider a sub-menu that would display additional information like latest login date instead of displaying it all at once.
  2. Display only 5 or even 4 items per page. You don't have to build a menu that puts 7 items + pagination and exit button on one page. Set MPROP_PERPAGE to 4/5 if you use newmenus and it will paginate automatically after 4/5 items, allowing it to display properly.
And please try to read more carefully what people tell you. This thread is a huge annoyance because you basically ignored my advice thrice now. We have to deal with engine limitations all the time in AMXX coding and sometimes there is stuff you simply can not do. Accept it, and listen when people take their time to explain these things to you, especially if other users come in and verify their claims. Chances are they know what they are talking about.
First of all I'm sorry for the spam I did not understand you right, and thank you very much
I read this response.

I just set the Line 5, which will be Next Page.

There is a situation you're bringing me how to set the line back and forth?

And another small problem, you do not have read and overlooked ..

Code:
Now I checked the code again, the problem is that I do not get the + Last Name of Admin Login. 
It absorbs my only Admin Steam Sets 
if i set my admin on IP it does not look and name Last Login
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
NikKOo31
Senior Member
Join Date: May 2013
Location: Home
Old 08-14-2014 , 12:31   Re: Does not show anything line 6
Reply With Quote #8

I made that code a few months ago D: it's old, you should look for the new version
__________________
Hey ^_^
NikKOo31 is offline
fl0werD
Senior Member
Join Date: May 2011
Old 08-13-2014 , 16:04   Re: Does not show anything line 6
Reply With Quote #9

"Exit" Showing?
fl0werD is offline
Send a message via ICQ to fl0werD
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-13-2014 , 17:12   Re: Does not show anything line 6
Reply With Quote #10

Quote:
Originally Posted by Fuck For Fun View Post
they said - maximum number of characters, so what can i do?
You've been told several times what you can do:

Quote:
Originally Posted by Nextra View Post
There is a maximum number of characters you can display in a menu. No matter how your format them, what menu style you use or if you bend over backwards: If you go over the character limit the menu will be truncated. Use less items per page or cut down on the amount of text you display for each player, there is no other way.
What do you not understand? Changing to charsmax instead of a hard coded value is good but not at all related to your problem.
__________________
fysiks 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 13:08.


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