Jump to content

Recommended Posts

Posted

i create a web service for change character name, in table 

CREATE TABLE [AddedServiceList](
	[idx] [int] NOT NULL,
	[postDate] [datetime] NOT NULL,
	[serviceType] [tinyint] NOT NULL,
	[fromUid] [int] NOT NULL,
	[toUid] [int] NULL,
	[fromAccount] [nvarchar](24) NULL,
	[toAccount] [nvarchar](24) NULL,
	[fromServer] [tinyint] NOT NULL,
	[toServer] [tinyint] NULL,
	[fromCharacter] [nvarchar](24) NOT NULL,
	[toCharacter] [nvarchar](24) NULL,
	[changeGender] [bit] NULL,
	[serviceFlag] [smallint] NOT NULL,
	[applyDate] [datetime] NULL CONSTRAINT [DF_AddedServiceList_applyDate]  DEFAULT (getdate()),
	[reserve1] [varchar](200) NULL,
	[reserve2] [varchar](100) NULL,
	[toMainClassNum] [int] NULL
) ON [PRIMARY]

This table have a dellay for update in server? Like clan change leader 1 time per week?

Because not change name instant? I try restart server but also not update char names.... Need wait any time for change name?

                                        $serviceFlag = 0; // Pending
                                        $stmt = $conn->prepare("
                                            INSERT INTO AddedServiceList 
                                            (idx, postDate, serviceType, fromUid, fromAccount, fromServer, fromCharacter, toCharacter, serviceFlag) 
                                            VALUES (?, GETDATE(), 3, ?, ?, 1, ?, ?, ?)
                                        ");
                                        $stmt->execute([$next_idx, $char_account_id, $char_account_name, $current_name, $new_name, $serviceFlag]);

 

Posted

I prefer using MyExt64 clean, i`m already finished, only need restart or maintenance for udate in game here. Due webpage not update instant, only change values in sqlserver. But is all working. Not have any option for change instant in game and not require restart?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock