server help

i made a land server now can any one help me make my self a GM Im USeing sql 2016
On desktop press shift + right mouse, then 'Open command window..'

Gage Demarco - server help - RaGEZONE Forums


► Type hostname press enter to retrieve NAMEOF-PC.
► Type sqlcmd -E -S NAMEOF-PC\SQLEXPRESS -d kal_db -Q "UPDATE Player SET [Admin] = 11 WHERE [Name] = 'character'"

Change NAMEOF-PC with your PC name.
Change character with your character name.
 
Last edited:
Upvote 0
On desktop press shift + right mouse, then 'Open command window..'

Gage Demarco - server help - RaGEZONE Forums


► Type hostname press enter to retrieve NAMEOF-PC.
► Type sqlcmd -E -S NAMEOF-PC\SQLEXPRESS -d kal_db -Q "UPDATE Player SET [Admin] = 11 WHERE [Name] = 'character'"

Change NAMEOF-PC with your PC name.
Change character with your character name.

mate, sorry but... why dont just do it on the easy way?

open ur database, Playerdb stored in kal_db, and set the Admin table (from your character) to 11.
 
  • Like
Reactions: Yui
Upvote 0
Well, it's easy way when you got command line stored in .txt file(with full pcname) or created .bat file which takes only couple seconds to execute (copy line then right click in cmd window). Useful when you have many players in Player table. Maybe from first look it's harder than changing manually, but really it's not.
+ This could inspire someone to use sql cmd not only for changing admin column. You can use for any query you wish. :)
 
Upvote 0
Well, it's easy way when you got command line stored in .txt file(with full pcname) or created .bat file which takes only couple seconds to execute (copy line then right click in cmd window). Useful when you have many players in Player table. Maybe from first look it's harder than changing manually, but really it's not.
+ This could inspire someone to use sql cmd not only for changing admin column. You can use for any query you wish. :)

even if you have over 5000 accounts / players in the table, as far you know how to work with sql, you will be way faster todo things with it, as these cmd commands, e.G. you want to search and filt. players with item X to X or level X to X etc, just take about 5 sec to set it up, hope you know what i mean lol
 
Upvote 0
Back