Jetzt kostenlos registrieren! | Passwort vergessen?

Zurück   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
Dein letzter Besuch war: Heute um 00:32 Uhr

  • Registriere dich kostenlos um Beiträge zu verfassen und alle Features zu nutzen!

Advertisement



[Help Thread] Please post your questions here.

Discussion on [Help Thread] Please post your questions here. within the Rappelz Private Server forum part of the Rappelz category.

Antwort
 
Alt 30.11.2015, 06:06   #5296
 
elite*gold: 0
Registriert seit: Jun 2011
Beiträge: 97
Erhaltene Thanks: 41
Zitat:
Zitat von Sherock Beitrag anzeigen
i need to insert this for every characters in my server using sql code

INSERT [dbo].[GlobalVariable] ([name], [value]) VALUES (N'123321_X', N'Y')

where x is the name of characters and Y is number of logins
notice that i want to implement this code for all characters
Lua is the solution for you.
set_global_vairable("122321_"..gv('name'),gv('logi n_count'))

Now you have to write it at the correct place, which mean you have to know what you want to do with the information you set.
sapir619 ist offline  
Alt 30.11.2015, 09:02   #5297
 
elite*gold: 0
Registriert seit: Jan 2009
Beiträge: 144
Erhaltene Thanks: 23
Hello.

I have some trouble with LUA scripting.
I try to access some (non-standard) values about object, and I don't found any function working.

I want read the "wear_type" value from itemressources table, in order create a pnj that make different actions depending on this value.

Try some:
-> get_item_wear_type(Handle)
-> get_id_item_wear_type (ID) (and every "_id" position)
-> get_item_value (ID, "wear_type" )

The only thing I found about this value is get_wear_item_handle(i) that return handle to an object weared by character
Don't need this one anymore, I already have the handle :P

Any idea?

PS: I realize while working on it that there's no public reference guide about usable lua functions with captain herlock :-(

PPS: sorry for poor english
Mr Guitou ist offline  
Alt 30.11.2015, 11:07   #5298
 
elite*gold: 0
Registriert seit: Oct 2013
Beiträge: 474
Erhaltene Thanks: 41
Zitat:
Zitat von sapir619 Beitrag anzeigen
Lua is the solution for you.
set_global_vairable("122321_"..gv('name'),gv('logi n_count'))

Now you have to write it at the correct place, which mean you have to know what you want to do with the information you set.
login_count was just an example ... i want arena_mvp_count
and arena_mvp_count can't be called using get_value in lua
Sherock ist offline  
Alt 30.11.2015, 12:15   #5299
 
Benutzerbild von TheOnlyOneRaskim
 
elite*gold: 0
Registriert seit: Nov 2011
Beiträge: 978
Erhaltene Thanks: 1.011
Zitat:
Zitat von Mr Guitou Beitrag anzeigen
Hello.

I have some trouble with LUA scripting.
I try to access some (non-standard) values about object, and I don't found any function working.

I want read the "wear_type" value from itemressources table, in order create a pnj that make different actions depending on this value.

Try some:
-> get_item_wear_type(Handle)
-> get_id_item_wear_type (ID) (and every "_id" position)
-> get_item_value (ID, "wear_type" )

The only thing I found about this value is get_wear_item_handle(i) that return handle to an object weared by character
Don't need this one anymore, I already have the handle :P

Any idea?

PS: I realize while working on it that there's no public reference guide about usable lua functions with captain herlock :-(

PPS: sorry for poor english
TheOnlyOneRaskim ist offline  
Thanks
1 Benutzer
Alt 30.11.2015, 13:10   #5300
 
elite*gold: 0
Registriert seit: Jan 2009
Beiträge: 144
Erhaltene Thanks: 23
Zitat:
Zitat von TheOnlyOneRaskim Beitrag anzeigen
Thanks

Take a deep look inside this usefull topic, seems there's no integrated function to solve my problem, need to found an other way

Chalenge accepted
Mr Guitou ist offline  
Alt 30.11.2015, 14:30   #5301
 
Benutzerbild von TheOnlyOneRaskim
 
elite*gold: 0
Registriert seit: Nov 2011
Beiträge: 978
Erhaltene Thanks: 1.011
I can send you the wear type numbers when I'm at home. Otherwise I don't understand what you're trying to do
TheOnlyOneRaskim ist offline  
Alt 30.11.2015, 20:15   #5302
 
elite*gold: 0
Registriert seit: Oct 2013
Beiträge: 474
Erhaltene Thanks: 41
Zitat:
Zitat von Sherock Beitrag anzeigen
login_count was just an example ... i want arena_mvp_count
and arena_mvp_count can't be called using get_value in lua
Up ^^
Sherock ist offline  
Alt 30.11.2015, 23:38   #5303
Moderator


 
Benutzerbild von ThunderNikk
 
elite*gold: 1
Registriert seit: Dec 2012
Beiträge: 4.915
Erhaltene Thanks: 1.492
Have you read the topic about using SQL statements with lua scripting by mongreldogg?

ThunderNikk ist offline  
Alt 01.12.2015, 00:42   #5304
 
elite*gold: 0
Registriert seit: Jan 2009
Beiträge: 144
Erhaltene Thanks: 23
Zitat:
Zitat von TheOnlyOneRaskim Beitrag anzeigen
I can send you the wear type numbers when I'm at home. Otherwise I don't understand what you're trying to do
I think you don't understand. In all case, don't waste your time, I already have the values

You already answer all what I need with the link you give
I didn't need more than a reference guide.

What I need to do for now is learn and try... And
Mr Guitou ist offline  
Alt 01.12.2015, 06:04   #5305
 
elite*gold: 0
Registriert seit: Oct 2013
Beiträge: 474
Erhaltene Thanks: 41
Zitat:
Zitat von thndr Beitrag anzeigen
Have you read the topic about using SQL statements with lua scripting by mongreldogg?

yes but i want to insert a global value for each character in my telecaster using SQL code

but i don't know how

for example

Server_"name" , lv

name , value

using sql only
Sherock ist offline  
Alt 01.12.2015, 06:28   #5306
 
elite*gold: 0
Registriert seit: Mar 2014
Beiträge: 13
Erhaltene Thanks: 0
I've set up a 9.1 server following these instructions



but when I go to launch the game it only loads half way. I don't know what info I need to put here but I'll get what I can.

Edit: I think the issue is I have a 9.2 SFrame. Gonna get a 9.1 and see if that works.
DaedeM ist offline  
Alt 01.12.2015, 07:22   #5307
 
elite*gold: 0
Registriert seit: Oct 2013
Beiträge: 474
Erhaltene Thanks: 41
i did it but is it able to let global variables can use without restart game server when you add it using sql ?
Sherock ist offline  
Alt 01.12.2015, 15:43   #5308
 
Benutzerbild von sunnyxie49
 
elite*gold: 0
Registriert seit: Jan 2013
Beiträge: 77
Erhaltene Thanks: 25
Zitat:
Zitat von Space() Beitrag anzeigen
I have given you the shop.
If you do not know the set, do not do shop.

this shop don't have login page!
<form action="/login/" method="POST"></form>
don't have "/login/" folder,and internal documents!
sunnyxie49 ist offline  
Alt 02.12.2015, 14:01   #5309
 
Benutzerbild von Space()
 
elite*gold: 0
Registriert seit: Nov 2015
Beiträge: 18
Erhaltene Thanks: 1
I have questions about the ports on a Server.

- Can we change the ports in the ".opt" file ?
- What ports to open for the firewall ? (inbound/outbound)
Space() ist offline  
Alt 02.12.2015, 15:41   #5310
Moderator


 
Benutzerbild von ThunderNikk
 
elite*gold: 1
Registriert seit: Dec 2012
Beiträge: 4.915
Erhaltene Thanks: 1.492
Zitat:
Zitat von Space() Beitrag anzeigen
- Can we change the ports in the ".opt" file ?
Yes

Zitat:
Zitat von Space() Beitrag anzeigen
- What ports to open for the firewall ? (inbound/outbound)
All of them except 1433 or whatever you set as database port.

You should read the guide on server security linked in the tools thread if you are opening the database port for remote management.
ThunderNikk ist offline  
Thanks
1 Benutzer
Antwort

Stichworte
7.4, client, rappelz


Ähnliche Themen Ähnliche Themen
[Helping Topic] 24/7 Helping Services!
27.08.2008 - EO PServer Hosting - 31 Antworten
stucked on anything while setuping your server? post your problem here and you will get answer as fast as possible better than spamming with posts :cool: first of all try reading Ahmedpotop's Pserver All thing guide. if your couldn't solve it out post your problem down here ""That includes PHP rankings pages / registrations pages / Status pages""



Alle Zeitangaben in WEZ +1. Es ist jetzt 00:32 Uhr.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 | Kontakt | FAQ | Werbung | Datenschutzerklärung | Nutzungsbedingungen | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.