[Logo]
 
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
RPG Data stored in a DB  XML
Forum Index -> Druids RPG Development
Author Message
TheDruidXpawX

Wicked Sick!
[Avatar]

Joined: 12/19/2004 18:32:13
Messages: 1946
Offline

This is one of my pet projects that I may take up.

I'm thinking of using libhttp to get and put the RPG data to a centralized server. I've been thinking about this in case we decide to start a second instance of unreal on our server, but we want to share RPG data.

The problem is that I dont want to majorly rewrite portions of the UT2004RPG code. I've been thinking I could write a mutator that you load before UT2004RPG that overrides ModifyPlayer and NotifyLogout to handle the pulling of data.

Any thoughts on this?

Skin download: http://www.disastrousconsequences.com/dcforum/posts/list/1189.page

The fundamental problem is this: The first word we learn as children is NO. From that point forward society teaches women that saying no isn't polite, and society teaches men to respect those who wont take no for an answer.

The world is what you make of it, my friend. If it doesn't fit, you make alterations. -- Stella, The Morning Star
v0rTeX

Wicked Sick!
[Avatar]

Joined: 12/19/2004 20:59:52
Messages: 562
Offline

That would be very helpful for admins who want to run two servers to handle the load without forcing people to always play one or the other.

I don't know if this is a related project, but if possible, the addition of "RPG Profiles" would be outstanding as well. There have been times I wish I could run RPG Invasion and RPG Onslaught on the same server, but that's not acceptable with only one RPG.ini file to work with.
TheDruidXpawX

Wicked Sick!
[Avatar]

Joined: 12/19/2004 18:32:13
Messages: 1946
Offline

v0rTeX wrote:
I don't know if this is a related project, but if possible, the addition of "RPG Profiles" would be outstanding as well. There have been times I wish I could run RPG Invasion and RPG Onslaught on the same server, but that's not acceptable with only one RPG.ini file to work with. 


Cant you accomplish what you're looking to do with the ScoreFix mutator?

Skin download: http://www.disastrousconsequences.com/dcforum/posts/list/1189.page

The fundamental problem is this: The first word we learn as children is NO. From that point forward society teaches women that saying no isn't polite, and society teaches men to respect those who wont take no for an answer.

The world is what you make of it, my friend. If it doesn't fit, you make alterations. -- Stella, The Morning Star
TheDruidXpawX

Wicked Sick!
[Avatar]

Joined: 12/19/2004 18:32:13
Messages: 1946
Offline

I was looking at http://wiki.beyondunreal.com/wiki/LibHTTP

LibHttp has the ability to get data and put data from an http url.

If anyone is feeling ambitious, and wants to try and cook up the mutator, It would be easy enough for me to cook up some jsp to provide for the gets and submit the posts.

I thought that in ModifyPawn it could load up and assign the RPG Player Data Object before RPG gets to the player, and on NotifyLogout it could put that data back to the web server.

Skin download: http://www.disastrousconsequences.com/dcforum/posts/list/1189.page

The fundamental problem is this: The first word we learn as children is NO. From that point forward society teaches women that saying no isn't polite, and society teaches men to respect those who wont take no for an answer.

The world is what you make of it, my friend. If it doesn't fit, you make alterations. -- Stella, The Morning Star
v0rTeX

Wicked Sick!
[Avatar]

Joined: 12/19/2004 20:59:52
Messages: 562
Offline

TheDruidXpawX wrote:

Cant you accomplish what you're looking to do with the ScoreFix mutator? 


Nope.

What I'm talking about is if I run Invasion, and someone makes it to level 100, then it's not fair when we switch over to Onslaught and the level 100 player has a HUGE advantage over the other team who may have no players above level 50 on it.

There have been other admins who have wanted profiles that act as if it's a whole new RPG.ini file being used and players have levels they have only gained in that gametype, and a different experience table, and a different stat points per level possibly.

It's not fair to let someone hop on the server late at night, play Invasion, gain 40 levels, and then bring those 40 levels to the table when Onslaught is played again. Anyone who has ever played RPG with Onslaught and used a fast level up system like most servers use for Invasion can tell you how bad it is to have someone 40 levels higher than you on the other team. There would be no stopping them.
TheDruidXpawX

Wicked Sick!
[Avatar]

Joined: 12/19/2004 18:32:13
Messages: 1946
Offline

I see what you mean by profiles.

I cant see why I couldn't smarten the web side code to hand out the correct profile for the player depending upon what game type the server passes.

Although, I'm not entirely sure that I would run that on my server...

Skin download: http://www.disastrousconsequences.com/dcforum/posts/list/1189.page

The fundamental problem is this: The first word we learn as children is NO. From that point forward society teaches women that saying no isn't polite, and society teaches men to respect those who wont take no for an answer.

The world is what you make of it, my friend. If it doesn't fit, you make alterations. -- Stella, The Morning Star
v0rTeX

Wicked Sick!
[Avatar]

Joined: 12/19/2004 20:59:52
Messages: 562
Offline

Given what your goal with a database is, I probably wouldn't want to run a single server with both gametypes vote-able, but having one of each server share a database would then be possible without using separate directories.

Then again I don't have my own server anymore, so I won't be doing this anyway...
 
Forum Index -> Druids RPG Development
Go to: