How to send items to all accounts.Rohan

06/06/2014 19:47 PenguinJoe#16
1. select your users from RohanUser.TUser
2. Send to the user's item mall inventory - lets user apply the item to any of his chars.
3. to automate add a where clause to apply restrictions

It helps to understand the Rohan database and table relationships.
It also helps to understand SQL to avoid inefficient code like unnecessary loops.
06/07/2014 06:55 dedeernet#17
Quote:
Originally Posted by PenguinJoe View Post
1. select your users from RohanUser.TUser
2. Send to the user's item mall inventory - lets user apply the item to any of his chars.
3. to automate add a where clause to apply restrictions

It helps to understand the Rohan database and table relationships.
It also helps to understand SQL to avoid inefficient code like unnecessary loops.
I've tried it, but I did not succeed in making the script
06/07/2014 11:32 zzerachiel#18
Well, it's simple.
Add
Code:
WHERE name = 'character name' -- for adding items to a specific character

WHERE user_id = 456789 -- for adding items to all characters a specific user has
to the end of the query

Further reading

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
06/07/2014 13:23 dedeernet#19
Quote:
Originally Posted by zzerachiel View Post
Well, it's simple.
Add
Code:
WHERE name = 'character name' -- for adding items to a specific character

WHERE user_id = 456789 -- for adding items to all characters a specific user has
to the end of the query

Further reading

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
I'll try it, I hope will be successful
06/23/2018 05:02 yurierodriguez#20
Quote:
Originally Posted by zzerachiel View Post
Well, it's simple.
Add
Code:
WHERE name = 'character name' -- for adding items to a specific character

WHERE user_id = 456789 -- for adding items to all characters a specific user has
to the end of the query

Further reading

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

where i put that in sql? sorry im new in setting server :(

Quote:
Originally Posted by zzerachiel View Post
Well, it's simple.
Add
Code:
WHERE name = 'character name' -- for adding items to a specific character

WHERE user_id = 456789 -- for adding items to all characters a specific user has
to the end of the query

Further reading

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
Quote:
Originally Posted by oziel235 View Post
is a SQL script to insert items in EventInventory.
where in sql i put that script sir? sorry im new in setting private server hope you help me ^_^
06/23/2018 16:58 im batman#21
First off, if you do not know how to use MSSQL server, you really should not touch making a Rohan Server. Stored procedures are a central part of Rohan server operation.

Second...

OMFG STOP Necroing threads that have been dead for 4+ YEARS!!!
Some of the guys you are asking do not even show up in here anymore.

And stop with the fking SPAMMING already!

Read the damn forum rules ffs!
06/23/2018 20:00 AbsoSN#22
Quote:
Originally Posted by im batman View Post
First off, if you do not know how to use MSSQL server, you really should not touch making a Rohan Server. Stored procedures are a central part of Rohan server operation.

Second...

OMFG STOP Necroing threads that have been dead for 4+ YEARS!!!
Some of the guys you are asking do not even show up in here anymore.

And stop with the fking SPAMMING already!

Read the damn forum rules ffs!
if you don't liek the forum get the shit out of here man they guy can post wherever he wants
06/23/2018 20:37 im batman#23
Who says I don't like the forums? The forums are fine. :p
06/24/2018 00:04 Ishtaria#24
Quote:
Originally Posted by AbsoSN View Post
if you don't liek the forum get the shit out of here man they guy can post wherever he wants
There are rules on this forum and they are often enforced without prejudice.
06/24/2018 03:38 oziel235#25
Quote:
Originally Posted by yurierodriguez View Post
where i put that in sql? sorry im new in setting server :(



where in sql i put that script sir? sorry im new in setting private server hope you help me ^_^
:wutface::thinking::facepalm:

WTF was that?? This stuff is for 8 years old kids.
06/24/2018 16:26 im batman#26
Quote:
Originally Posted by oziel235 View Post
:wutface::thinking::facepalm:

WTF was that?? This stuff is for 8 years old kids.
[Only registered and activated users can see links. Click Here To Register...]
That guy has been posting not only here, but in other forums trying to get people to teach him how to use MS SQL server. He does not realize a certain level of technical knowledge is needed before you can tackle running any kind of game server.

My advice for this poster is to gather as much information that has been posted, and teach himself how to understand what it is doing. These are things he has to do for himself. No one is going to give him a college level computer science course in a gaming discussion forum.
06/26/2018 16:00 yurierodriguez#27
Quote:
Originally Posted by im batman View Post
That guy has been posting not only here, but in other forums trying to get people to teach him how to use MS SQL server. He does not realize a certain level of technical knowledge is needed before you can tackle running any kind of game server.

My advice for this poster is to gather as much information that has been posted, and teach himself how to understand what it is doing. These are things he has to do for himself. No one is going to give him a college level computer science course in a gaming discussion forum.
i dont know about computers but i have my own local server now. some of my problems is fix by my own. i need a little tips. im a fast learner, i dont care about computer science, come visit my server i already set starting, instant lvl, send items to all players, all of that info i found on internet but im not in college level computer science. only i want is a tool that can help me :(
06/26/2018 18:49 im batman#28
Wait a minnit. You don't know about computers, but you want to build a fukkin' Rohan game server? Are you kidding me??!!

There are no "edit your database for dummies" tools. The tool you need comes with Microsoft SQL Server. The Microsoft SQL Server Management Console. The knowledge you need is how to code sql queries and inserts in Microsoft TSQL stored procedures. I have already told you before that if you do not know how to use this stuff, to stay away from rohan servers. 75% of what you will do with that kind of server requires using Microsoft SQL Server and its tools.

The knowledge to do that modifying comes after a LOT more than a couple days/weeks of screwing around with a database. Only WHEN you understand how to code TSQL stored procedures to query, update, add and delete database records, then, and only then will you be able to do this kind of work yourself.

All of the better devs here have spent months and even years gaining that knowledge. Not a single one is going to be your teacher for free in some gaming forums.

I strongly suggest you go back and get this background knowledge so you know what questions to ask that would actually get productive answers. Until then this is about the most helpful answer you will be getting.