Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 12:00

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



read an (outside) updated global variable

Discussion on read an (outside) updated global variable within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2014
Posts: 83
Received Thanks: 17
read an (outside) updated global variable

hi
i know it's seem kind of stupid question
but i have global variable which is updated from
outside the game assume that i have global variable
named [X] and it's value [1]
from web page i want to update [X] value to [2]
then read the new value from the game without restart the server
any suggestion or better idea to do something like this ?
colonelx is offline  
Old 04/10/2015, 00:52   #2
 
elite*gold: 0
Join Date: Aug 2011
Posts: 532
Received Thanks: 234
You could use TelNet to execute commands in the GS, no?

Make your website save the previous value if new is detected and if new =/= old then make the website execute the TelNet command to update the value in GS.
marekrndr is offline  
Thanks
1 User
Old 04/10/2015, 01:25   #3
 
elite*gold: 0
Join Date: Aug 2014
Posts: 83
Received Thanks: 17
could you tell me how to use telnet with web and captin herlock plz ?
cuz i haven't use it before
[EDIT]
i found this topic but i ccan not connect

it's show me
[PHP Telnet] Connect failed: Login failed
although i have put the console password hash
colonelx is offline  
Old 04/10/2015, 01:30   #4
 
elite*gold: 0
Join Date: Aug 2011
Posts: 532
Received Thanks: 234
Find the TelNet tutorial/sample code by iSmokeDrow from this forum, write it over to either PHP, ASPX or what ever you use.

To sum the answer up: search epvp, there are enough threads about this.
marekrndr is offline  
Old 04/10/2015, 02:08   #5
 
elite*gold: 0
Join Date: Aug 2014
Posts: 83
Received Thanks: 17
i have edited my previous post maybe u haven't notice that
after the edit i said that
i found this topic but i can not connect

it's show me
[PHP Telnet] Connect failed: Login failed
although i have put the console password hash
colonelx is offline  
Old 04/10/2015, 02:11   #6
Moderator


 
ThunderNikk's Avatar
 
elite*gold: 1
Join Date: Dec 2012
Posts: 4,912
Received Thanks: 1,490
console_allow_ip:

Or some thing like that.
ThunderNikk is online now  
Old 04/10/2015, 03:55   #7
 
elite*gold: 0
Join Date: Aug 2014
Posts: 83
Received Thanks: 17
ok now the connection established
but there is another problem
every command i excuted it's return
Invalid command...
any suggestion ?
i have checked for port i put it 4515 and it login success but can not use commands
colonelx is offline  
Old 04/10/2015, 03:58   #8
 
elite*gold: 0
Join Date: Aug 2011
Posts: 532
Received Thanks: 234
Give us an example of a command you send.
marekrndr is offline  
Old 04/10/2015, 04:21   #9
 
elite*gold: 0
Join Date: Aug 2014
Posts: 83
Received Thanks: 17
using the class provided in the topic i mentioned in previous comment
i used this command
TelnetCommand("#announce('WELCOME')");
note that i have tested auth on 4501 and works fine
i have sent set game.open_external 1
and its work fine
but still not work on game server although its already connected
[edit]:
now im confused -_-
this command SET game.chaos_drop_rate : 80
work fine just the set command work (not sure if it work)

any help plz

any help plz
colonelx is offline  
Old 04/12/2015, 21:16   #10
 
elite*gold: 0
Join Date: Oct 2011
Posts: 84
Received Thanks: 12
first try to connect to the captain using cmd -- telnet command and see if u can execute the code

telnet 127.0.0.1 console_port

if you can execute the command and the same command not being executed while using the php telnet .. then there may be a bug in php telnet
pprfds is offline  
Reply


Similar Threads Similar Threads
[C#] Global Variable
04/29/2012 - .NET Languages - 5 Replies
Program.cs: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace project { class Program {
[C#] Global Variable
04/28/2012 - C/C++ - 2 Replies
Program.cs: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace project { class Program {
Cost of accessing a casted variable vs. assigning the casted variable? (C#)
01/05/2011 - CO2 Programming - 5 Replies
I know that in unmanaged C++, casting is at compile-time, so it's better to avoid the assignment and simply access it for all instances. However, in C#, I have no idea since I'm pretty new to it.
Überprüfen ob Variable Eine Variable ist
10/16/2010 - AutoIt - 26 Replies
Hey leute ich wollte fragen ob/wie man überprüfen kann ob eine Variable eine Variable ist z.b. so $k = 1 $i = $k if $i = VARIABLE Then msgbox(0,'$i ist eine variable!!','') endif PS:Wp releast man nochma TuT (z.b. für metin2??)
READ BEFORE YOU DO ANYTHING Updated
02/22/2008 - SRO Hacks, Bots, Cheats & Exploits - 27 Replies
Hi, if u are going to post a trojan / keylogger read this: 1st) Don't have any hopes to get someone who's stupit enough to let him hack you, every file you may post will be scanned by Online-Virusscanner. 2nd) Now u think: HAHAHA! I use a crypter and a packer to make it undetectable? Then will I test it on another computer and if there are any viruses inside, I first will write a abuse mail, that your provider cut your internet connecten (A No-IP account or something like that won't bring u...



All times are GMT +1. The time now is 12:02.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.