-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server Maintainance always in CMD #26
Comments
can you show me your |
oh wait, did you change your hosts file? |
Ohh do i have to redirect gt to local host?. |
yeah |
What do i put there localhost growtopia1.com? |
127.0.0.1 www.growtopia1.com |
Uhmm do i have to restart the pc after that cuz gt still can connect without the proxy on. |
maybe restart your growtopia? |
It still goes directly into the game. |
umm 🤔, it should work after restarting growtopia |
your config server.host is growtopia1.com? if yes you need change to ip address of growtopia1.com |
maybe try with 52.44.28.101? |
It works. how did you get this ip?. |
Thanks.... |
open terminal and |
Thanks |
What does it mean by "Server is using a new packet" |
type2 in server_data.php is set to one. It adds a new header i.e. |
i have no idea what this stuff is..... never did any enet programming or c++ |
it's like an additional (integrity) check for growtopia whether the data sent from the same port or not, to ensure that it has not been tampered with during transmission. But it is so useless 🤣 |
Uhm.. is there a function that can send a custom packet to the server? i will be trying to understand the code base. i partly understand c++ but its harder to read code from someone else.. 👍 do you use clion or visual studio? |
what do you mean by custom packet? the proxy have the function |
Uhmm so you have to construct the packet and send with with send_raw_packet?. |
I will be trying to understand ur code base anyway i need to understand what ur functions are doing with parsing and all that extra stuff. |
When will you implement more features?? i see that there is a prefix for a command. |
yeah |
before 3.92 there was a command feature but i removed it after. |
cuz its not possible to do them again or ?... |
Oh okay.... |
Example Put dirt
we get x and y of player when player moved
when put(2) is called it will put dirt to right |
Curent www.growtopia1.com ip is "213.14.202.18" u can try it |
As i can see you know what ur talking about.... how would you parse a prefix from the message and get the command after the prefix so you can make !drop , !put , !break. |
Also i dont get any linting with clion any idea why?. |
Also i did try to implement the function u sent above but after sending a packet it doesnt do anything. |
When did you call it |
randomly when in a word. i had dirt in inventory and the world was random. |
|
when u write something starting with ! it will place dirt |
Where do i put those lines in client.cpp? where is the packet parsed and checked. |
to Server.cpp chat message is sent by Growtopia Client |
https://github.com/ZTzTopia/GTProxy/blob/dev/src/server/server.cpp#L136 |
What is the configuration of the json file???.... I always get that the server is under maintainance even tho its not.
The text was updated successfully, but these errors were encountered: