Hello, in your last update, our problem with Leave Zone was solved, but I think you tampered with the http() related codes because almost many of our http() codes do not work. Can you please tell me which codes we need to fix from version 9.4 just for the changes related to Leave Zone?
I have no knowledge on the subject and I will only offer a suggestion based on what I have read. It is up to you whether you do it or not. If users could open their own servers from their own hosts, everyone's ping or connection problems would be related to themselves and server flows would be more comfortable, just like we open our own user systems on our own hosts. So how will this be related to the pricing part? I have the following idea: Among the server files, a verification code can be sent to the user by lfs.net when the server is started, and this code only works when used on the registered hosting server, just like in the user system. In short, a person can purchase an API for the server and this API can be used as a key in the server files. To make it more secure, the verification code may be included as I mentioned above. Good luck in your development process. Or, to solve the problem better, it would be better for everyone to use only the "NL" host and other locations are a waste of time for you.
I don't have any information about the error you receive, but I can say something to help you: You need to add the IP address of the lapper client you want to connect to from your lfs.net site to your servers section.
I'm sure there is a text that will summarize the whole issue and really the TC server has been keeping the LFS audience alive for years and it is not nice to blame TC for what happened, I think your explanation is very sufficient for the LFS developers and I think they should start fixing the problem themselves now.
Last edited by Flame CZE, .
Reason : Removed a very long quote
I think what you're talking about is just a simple example because I'm sure there are people out there who can get over this even if they give out their web password or stay connected to a single computer.
It will be really difficult for you to explain how the http code works or to try to train people to run it or to try to provide a website training. Especially for someone who doesn't know anything, creating a website infrastructure, reading PHP codes and directing them to the game (I'm sure they will get many errors while doing these) because every new person experiences these problems. If you believe that you can explain it and deal with the problems arising here, I can share a few simple code examples.
Thank you for your answer, this seems like something really useful, I will try this code because it will be easier to check the codes I have implemented in PHP on Lapper, thank you for your help.
I can successfully send data from the PHP section, send globalmsg etc., but when it comes to printing the request from http with if in the lapper, it fails.
The value of the $allowed variable returns a $allowed variable from PHP with the data sent to you from http, but I don't understand where the problem is. I'm waiting for your results when you test.
Actually, something different is written in that section in my own code. I changed it while writing the code in a hurry. Normally, it was called Sub verify, which means I don't have any problems redirecting to the sub, but for some reason, there is a problem with the if value.
cmdLFS("/kick ".$userName); GlobalMsg("Kicked: ".$userName.". Reason: Not Alowed");
ELSE
GlobalMsg("Welcome Back: ".$userName);
ENDIF
EndSub
CASE "!test": verify($userName); BREAK;
Hello developers, I had the opportunity to try these codes today and I tried them. But I am encountering a problem here, let me state the problem right away. First of all, I don't get any errors, but I think I did something wrong somewhere, but I couldn't figure it out. I'm starting to explain, I ran the codes on my localhost, I have a script.php file, but I couldn't print the values coming from there to the lapper with if. To elaborate, let's assume that I did not define $allowed in the if else values in PHP, and I added 2 GlobalMsgs to the if and else parts where $allowed is written. If the value is yes, it sends me a Value: 1 msg. If the value is no, I set the value: 0 to a GlobalMsg via PHP. In this case, I get the correct value, but when I put $allowed value in php and want to send GlobalMsg to the lapper with if, the $allowed value from php always sends the same message whether it is 1 or 0. I think I have a problem with the if writing in the lapper section, I couldn't solve it. It would be nice if people with knowledge on this subject could help me. Good work to everyone.
Although the location of the ifs may not cause problems sometimes, it would be better to have the if order correctly for the priority of the operation, I agree with you here.
When building Lapper, try to write code yourself instead of using ready-made codes. Ready-made codes that you have no idea how they work will force you to get more errors.
I had a very bad computer at the time and the server was crashing and freezing after the players left the pit. I think the problem is related to the storage of your computer.
You have no choice but to check the codes you have changed recently, check the OnConnect event in the error. and stop changing lapper version constantly, every code data you make may not be available in old versions.
It is definitely obvious that the problem is here, check this, most likely the discord bot. You cannot use every discord code we have used in every version of the lapper, use the most up-to-date version of the lapper.
---------------------------------------
1/31/2024 4:18:36 PM -> Var not defined on file: ".\default\.\includes\.\myInc.lpr" at line #14
1/31/2024 4:18:36 PM -> Var not defined on file: ".\default\.\includes\.\myInc.lpr" at line #15
What do you think is bad about asking questions or trying to get information? And I don't care about anyone, young or old, I just focus on what I want to do. Do you think only young people are involved in these things?
Is the fact that my account has been newly created a sign for Generation Z? I'm only asking questions because I have no knowledge about the subject. After all, it's not something I do. I chose VSCode to do collaborative work at the same time, but it doesn't work for me.