|
You last visited: Today at 16:33
Advertisement
Change name problem
Discussion on Change name problem within the SRO Private Server forum part of the Silkroad Online category.
08/10/2015, 16:19
|
#1
|
elite*gold: 70
Join Date: May 2014
Posts: 206
Received Thanks: 20
|
Change name problem
hello
Now as we know there is a change name scroll
So i can scam a player then change my name so gm won't even know how scammed him
So what about making a table which register every name change with the right time that the player used the scroll in
So the table have the time of use
Old name
New name
So gm can manage him any time
Thanks can u help me in that ?
|
|
|
08/13/2015, 01:20
|
#2
|
elite*gold: 100
Join Date: Jun 2013
Posts: 442
Received Thanks: 778
|
... what....
|
|
|
08/13/2015, 04:59
|
#3
|
elite*gold: 0
Join Date: Jul 2009
Posts: 1,860
Received Thanks: 760
|
Name change scroll. Were people even able to use those on the older Silkroad files, except CSRO-R?
It is easy to declare and define those actions. You just simply need the triggered eventID (used name change scroll should have it's own eventID), listen for the usage of it inside of your log procedures (item specific one log proc, if this specific item being used -> then), select the current name and temp save it, register the new name as well, use the date function of SQL, add them into a new table inside the shard database.
Not going to post anything "ready to use" related content here. If I do so, or anyone else, you won't learn anything.
|
|
|
08/15/2015, 21:20
|
#4
|
elite*gold: 1
Join Date: Aug 2015
Posts: 55
Received Thanks: 19
|
that what you talking about
|
|
|
08/17/2015, 00:31
|
#5
|
elite*gold: 85
Join Date: Feb 2014
Posts: 1,056
Received Thanks: 1,644
|
CREATE TABLE _CharnameChanges (OldCharname VARCHAR(32), NewCharName VARCHAR(32), [Timestamp] SMALLDATETIME)
is what you are looking for.
|
|
|
08/17/2015, 03:04
|
#6
|
elite*gold: 70
Join Date: May 2014
Posts: 206
Received Thanks: 20
|
So i created the able
but how could i know the event id
so i can make the produce register the Old(Easy)
but how could i make the SQL w8 the new char name to register it ?
|
|
|
08/17/2015, 11:38
|
#7
|
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
|
Quote:
Originally Posted by BuiLt4KiLl
So i created the able
but how could i know the event id
so i can make the produce register the Old(Easy)
but how could i make the SQL w8 the new char name to register it ?
|
 -> Scroll procedure\lines and INSERT INTO blablabla...
|
|
|
08/17/2015, 22:22
|
#8
|
elite*gold: 40
Join Date: Jul 2013
Posts: 167
Received Thanks: 201
|
Make a scroll to trigger the name change procedure, I think old vSRO has one, u only need to read its activity using [_LogEventItem] (@EventID 41 = scroll usage). But don't make the scroll "Return Scroll" type, make it "expendable" type with empty skill so it can call [_AddTimedJob], and you can dc the client from there. Name change procedure needs to DC the client. Believe me, I tried
do not forget to review your [_RenameCharName] and [_RenameCharNameByID], those are the SP the name change procedure calls. It's original SP, you need to make sure they works.
Just a tip, triggering name change is very simple, you only have to change character name of a char from "My_Char_Name" to "@My_Char_Name" <-- add "@", the client will automatically force the player to change the char name on next login. Yes, on next login, that's why you have to DC the client.
clear example:
good luck
|
|
|
08/18/2015, 04:49
|
#9
|
elite*gold: 1
Join Date: Jul 2015
Posts: 207
Received Thanks: 60
|
Quote:
Originally Posted by witchymoo
Make a scroll to trigger the name change procedure, I think old vSRO has one, u only need to read its activity using [_LogEventItem] (@EventID 41 = scroll usage). But don't make the scroll "Return Scroll" type, make it "expendable" type with empty skill so it can call [_AddTimedJob], and you can dc the client from there. Name change procedure needs to DC the client. Believe me, I tried
do not forget to review your [_RenameCharName] and [_RenameCharNameByID], those are the SP the name change procedure calls. It's original SP, you need to make sure they works.
Just a tip, triggering name change is very simple, you only have to change character name of a char from "My_Char_Name" to "@My_Char_Name" <-- add "@", the client will automatically force the player to change the char name on next login. Yes, on next login, that's why you have to DC the client.
clear example:
good luck
|
you're always helpful bro
these guys are saying insert and **** but he dont know what the hell they're talking about because he's a newbie
good luck
|
|
|
08/18/2015, 08:55
|
#10
|
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
|
Quote:
Originally Posted by witchymoo
Make a scroll to trigger the name change procedure, I think old vSRO has one, u only need to read its activity using [_LogEventItem] (@EventID 41 = scroll usage). But don't make the scroll "Return Scroll" type, make it "expendable" type with empty skill so it can call [_AddTimedJob], and you can dc the client from there. Name change procedure needs to DC the client. Believe me, I tried
do not forget to review your [_RenameCharName] and [_RenameCharNameByID], those are the SP the name change procedure calls. It's original SP, you need to make sure they works.
Just a tip, triggering name change is very simple, you only have to change character name of a char from "My_Char_Name" to "@My_Char_Name" <-- add "@", the client will automatically force the player to change the char name on next login. Yes, on next login, that's why you have to DC the client.
clear example:
good luck
|
I guess he already got that working. He just wants to write logs, or that's what he said!
|
|
|
08/20/2015, 14:53
|
#11
|
elite*gold: 70
Join Date: May 2014
Posts: 206
Received Thanks: 20
|
Really guy's ?!
It's the first time for me
I can't under stand 1 single word from the replies up !!
Please i need to understand how it goes from A to Z
|
|
|
08/20/2015, 15:23
|
#12
|
elite*gold: 27
Join Date: Jan 2015
Posts: 1,343
Received Thanks: 892
|
Quote:
Originally Posted by BuiLt4KiLl
Really guy's ?!
It's the first time for me
I can't under stand 1 single word from the replies up !!
Please i need to understand how it goes from A to Z
|
Here you go.
1- Use this query
Quote:
USE SRO_VT_SHARD
CREATE TABLE _RenameCharLog
(OldName varchar(16)
,CharID INT
,NewName varchar(16))
|
2- Go to your _RenameCharNameByCharID procedure in SRO_VT_SHARD, modify it
Add code B right after Code A (code a already exists, you just need to add code b after it)
Code A:
Quote:
declare @old_name varchar(64)
select @old_name = charname16 from _char where charid = @charid
|
Code B:
Quote:
INSERT _RenameCharLog
SELECT @old_name,@CharID,@NewName
|
Can explaining this be clearer? Think not.
|
|
|
08/20/2015, 18:13
|
#13
|
elite*gold: 70
Join Date: Jun 2015
Posts: 221
Received Thanks: 135
|
i think wichymoo said well too
|
|
|
08/21/2015, 14:44
|
#14
|
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
|
Do you have the scroll working or not?
|
|
|
 |
Similar Threads
|
[Problem]The Problem about E-Mail & Password Change
01/02/2014 - S4 League - 0 Replies
Many People are saying that they doesnt get a Mail after changing the E-Mail or the Password.
I have an other Way to change the E-Mail & Password
Step 1 : Go to Alaplaya.net
Step 2 : Log in with your S4 League Account.
Step 3 : Hover the Mouse over "My Profile"
Step 4 : Click Settings
Step 5 : Click "Account Settings"
|
Problem change language
06/05/2013 - SRO Private Server - 4 Replies
Hello ... i used text data files for media.pk2 and made new type.txt for english language !!!
I changed this text data files i got from "srodev.net" : textdata_equip&skill ; textdata_object; textevent; texthelp; textquest_queststring; textquest_otherstring; textquest_speech&name; textuisystem; textzonename
when i use all this files and start my client iam able to login and so on...
but when iam ingame i dont see any npc and cant move !!! iam able to open inventory and skills etc ......
|
job change problem
10/17/2009 - Dragonica - 2 Replies
i am 41
and did this qeust do i need more for job change
Farrell's Diary
NPC & Location: <Arcanist> Pablo || Libra
Rewards: 238050 exp, 15 silver 25 copper, (1) Sealed Flame Gate Key
Talk to <Arcanist> Pablo.
|
All times are GMT +1. The time now is 16:34.
|
|