nvm fixed it but now my problem with easy click ... i have a version info button and this is the end part it opens the first part wich is lapper version information but it dont open the reset
Sub MA_ver( $KeyFlags,$id )
IF( UserInGroup( "beta",$userName ) == 1 )
THEN
openPrivButton( "ver",35,28,125,10,5,-1,0,"^6Lapper Version Information" );
openPrivButton( "ver2"35,38,125,6,5,-1,32,"^2this server is running ^0[^4S^0C] ^7Lapper version 7.00 ^3Alpha"
. "&^2made by ^0[^4S^0C] ^7T3ChaRmy"
. "&^2Score Board made by ^7[TT^1R^7] Ken Nomura"
. "&^2based off of ^6Gai-Luron's ^2LFSlapper"
. "&Click To Close!",MA_closever );
ELSE
openPrivButton( "ver",35,28,125,10,5,-1,0,"^6Lapper Version Information" );
openPrivButton( "ver2"35,38,125,6,5,-1,32,"^2this server is running ^0[^4S^0C] ^7Lapper version 6.50 ^2Stable"
. "&^2made by ^0[^4S^0C] ^7T3ChaRmy"
. "&^2Score Board made by ^7[TT^1R^7] Ken Nomura"
. "&^2based off of ^6Gai-Luron's ^2LFSlapper"
. "&Click To Close!",MA_closever );
ENDIF
EndSub
If we're following the letter of the law, then the GPL license that Lapper has attached to it would mean that you have to provide the source code to any project based off of it, so any intellectual property is in the public domain.
From a community point of view, secrecy and a willingness not to share will only make your development cycle a lonely one, as no one would be willing to help someone who doesn't contribute to the project as a whole.
i mean i have certain things that are under develop ment that i would not like people to see untill there finalized that and i fixed it as i said can u please help me with my easy click?
i will plan on releasing my easy click soon as i know its what i think is good enough and it works
does this close the box like for instance if i put that on the help page then got rid of the "OK" or "CLOSE" from the bottom and put this in there it would close the !help when i click it? and also what is easy click if someone could explain it to me please?
ok yes u do !help and u click the help wendow like u would the ok or close button
the point of easy click is so that when ur driving ,drifting,racing u can look up stuff with out haveing to type it out if u wanna have a look at mine let me know ill let u be a beta tester and u can see what all the point of it is =)
sure ill add one or 2 im just having a small bug atm
i have the color thing as 32 but its not dark there there the same color as 16 any one got an idea?
HERE IS MY COde for my help button on my easy click
Hi,
The only problem i had with easy click buttons while driving that the people who driving with a mouse complain that there mouse arrow was moving all the time on the screen.
So i show the buttons now only when people spectate. ( And for the Admins there are other buttons.)
Apologies (mainly to TIM[NL]), but that is some basic label/button coding, which if you're going to play with Lapper script at all, you should be able to do.
The logo part of the picture is probably just a label (although could be a 'secret' button just for admin use only!), with the help and other buttons that once pressed, will open another set of labels and buttons.
To me, a 'label' is a button that only gives you information (like a team name/logo, or something like "Best Split ="), whereas a proper 'button' is something that you have to press to give you other information. In Lapper, both a label and a button still referred to as a button - you have to choose what it's use will be.
Some buttons may call some other sub routines into play, most simple ones don't.
Some labels/buttons are only for the driver to see (OpenPrivButton), and others are for all to see (OpenGlobalButton). You need to think about their use as you're designing them. Same goes for private/global messages.
You also have to think about closing buttons before opening others. And should buttons self close after so many seconds, or do they need a button click (like !top, where you have to click "OK" to close table).
For instance, in the default lapper script, when you join a server, you get the typical Welcome message, which you have to Accept or Reject. Once you click the Accept button, it has to close down the open labels/buttons. Including itself. Closing of buttons is something you have to be aware of!! The reject button kicks you off, so you don't have to bother.
Also. This is a private button, otherwise everytime someone joined the server, everyone would get the message again (and again. And again. And.....).
My suggestion is that you open the standard LFSLapper.lpr file and search for all the private and global buttons and try follow what they do.
And/or.
Try your own - make your own team name/logo and place it on screen - look where it would interfere with other things (not top left as this is where you see people 'talk'. Not top right as this is where you get quali and race results. Not bottom right as this is where you get ShiftN info. Maybe not bottom left as this is where you see who's lagging. Maybe not slap bang in middle of screen where it can be little offputting when driving.
What size? Colour of label? Colour of text?
Both Gai and Yisc[NL] have good right-ups in the standard script to explain what the coding criteria is.
There's also nothing to stop you changing the private and global messages into private or global labels/buttons.
I see you've been trying to play with nodes and zones, like what happens with the speedtrap messages.
Make your own simple labels/buttons to go with nodes or zones.
This tells you to watch for traffic when exiting the pitlane at Blackwood. Label is timed so that it eventually goes away itself (you don't want to have to try close a button, watch for traffic, change gear, brake/accelerate, slot in, turn wheel, breath, blink, put your biscuit back on the plate, answer your wife, etc., all at the same time!).
The same message can be used at other tracks - you only have to change the button label and zone numbers - the 'SE_leavepits' subroutine can be used again and again, whatever the button label/numbers.
Try your own for when people enter the pits (e.g. stop EXACTLY in box to change tyres), and anything else you or others may like to see. Also be aware that too many labels/buttons/messages put some drivers off - the only thing some people want to see is they've made new PB and their finish position in the race (ignoring everyone they don't know that come behind them)!
Once you get proficient at the simple stuff, then move onto others (a button that then opens another button, etc).
Once you get to that stage, then I (and others) can then start to ask your advice!
My big word of advice; always keep back up of working lapper script!
i wanna make it so that i can change 2 sets of numbers i got it to work with my easy click but i cant get it to work here can any one help?
CASE "!ver":
IF( UserInGroup( "beta",$userName ) == 1 )
THEN
openPrivButton( "ver",35,28,125,10,5,-1,0,"^6Lapper Version Information" );
openPrivButton( "ver2"35,38,125,6,5,-1,32,"^2this server is running ^0[^4S^0C] ^7Lapper version " . $VNB . $VSB
. "&^2made by ^0[^4S^0C] ^7T3ChaRmy"
. "&^2Score Board made by ^7[TT^1R^7] Ken Nomura"
. "&^2based off of ^6Gai-Luron's ^2LFSlapper"
. "&Click To Close!",MA_closever );
ELSE
openPrivButton( "ver",35,28,125,10,5,-1,0,"^6Lapper Version Information" );
openPrivButton( "ver2"35,38,125,6,5,-1,32,"^2this server is running ^0[^4S^0C] ^7Lapper version " . $VN . $VS
. "&^2made by ^0[^4S^0C] ^7T3ChaRmy"
. "&^2Score Board made by ^7[TT^1R^7] Ken Nomura"
. "&^2based off of ^6Gai-Luron's ^2LFSlapper"
. "&Click To Close!",MA_closever );
ENDIF
Small tip: Open your lapper scripts with PSPAd so all the line in the script are numberd.
In ..\bin\default\logs open your error log file to see in which line the error is.
CASE "!ver": IF( UserInGroup( "beta",$userName ) == 1 ) THEN openPrivButton( "ver",35,28,125,10,5,-1,0,"^6Lapper Version Information" ); openPrivButton( "ver2"[COLOR=red],[/COLOR]35,38,125,6,5,-1,32,"^2this server is running ^0[^4S^0C] ^7Lapper version " . $VNB . $VSB . "&^2made by ^0[^4S^0C] ^7T3ChaRmy" . "&^2Score Board made by ^7[TT^1R^7] Ken Nomura" . "&^2based off of ^6Gai-Luron's ^2LFSlapper" . "&Click To Close!",MA_closever ); ELSE openPrivButton( "ver",35,28,125,10,5,-1,0,"^6Lapper Version Information" ); openPrivButton( "ver2"[COLOR=red],[/COLOR]35,38,125,6,5,-1,32,"^2this server is running ^0[^4S^0C] ^7Lapper version " . $VN . $VS . "&^2made by ^0[^4S^0C] ^7T3ChaRmy" . "&^2Score Board made by ^7[TT^1R^7] Ken Nomura" . "&^2based off of ^6Gai-Luron's ^2LFSlapper" . "&Click To Close!",MA_closever ); ENDIF