Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-09-22 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
September 21, 2012, 09:47:18 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: War3source modification question.  (Read 308 times)
-El Diablo
Full Member
***
Posts: 175


View Profile
« on: May 03, 2012, 02:42:38 PM »

How much modification to war3source can I do and it still be considered war3source?
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #1 on: May 03, 2012, 02:47:50 PM »

50%? but thats arbitrary too

why not add to svn?]

*cough* conflict of interest *cough*
Logged

DarkEnergy
-El Diablo
Full Member
***
Posts: 175


View Profile
« Reply #2 on: May 03, 2012, 03:00:25 PM »

i am currently modifing the XP, gold, races, levels, shopitems, shopmenu system.

im not disregarding any author's names or developers.  all credits will still be with them.

as far as SVN.. ive gotta learn that stuff.  Not sure if I trust that programming.


Evenutally changing alot more than that, but currently that is what i'm working on..

And yes, the races are all being modified via the skill levels to match the skill level im setting up.  The race itself isn't being modified as far as what it can do.

The route im taking will throw war3source in a total new direction.

Including somethings i've found in another source huge source mod that is similar to war3source.

Logged
Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 402


⠠⠵


View Profile
« Reply #3 on: May 03, 2012, 05:50:43 PM »

as far as SVN.. ive gotta learn that stuff.  Not sure if I trust that programming.

"The only programmers who don't use revision control are those that never tried it"
I'm pretty sure I read a quote like that in a book once... I wish I could remember which. Point stands, once you try it you don't go back, there are just too many advantages with practically no disadvantages.

If you want to do heavy modification to the base engine then create a branch to work in. That way you can still profit from fixes and stuff going into the base and the base can benefit from things you do as they can be merged back in there.
Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #4 on: May 03, 2012, 06:30:52 PM »

SVN TUTORIAL http://ownageclan.com/wiki/index.php/Development:SVN

"SVN checkout is like losing your virginity, once you do it you can't do it again." - Professor Perkins
Logged

DarkEnergy
-El Diablo
Full Member
***
Posts: 175


View Profile
« Reply #5 on: May 04, 2012, 07:31:49 AM »

ok, i'll learn the SVN.

so your saying, as I make modifications we still help eachother.   I can benefit from modifcations that others make as well as other people benefit from modifcations that I make right?
Logged
Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 402


⠠⠵


View Profile
« Reply #6 on: May 04, 2012, 08:25:06 AM »

If you do your stuff as a branch, yes.
Logged

-El Diablo
Full Member
***
Posts: 175


View Profile
« Reply #7 on: May 05, 2012, 11:05:35 AM »

I hope it works.. I've create a whole new folder for war3source (all the source code copied to another folder).  Somehow i have to figure out the "switch" method of SVN...

Reason:  I'm setting up war3source to be either 4 or 8 levels, and more focus on shop content.   Increasing the XP system to include more reasons to give XP, and making gold harder to earn.  Modifications to the Races via the new leveling system.   Will include updates to all my current races, and new races that i have in development.  I'm planning on at least 20 new races.  Maybe a shopmenu3 for the special gear that will require much more gold to acquire.

I've watched level 16 players play against level 1 players on war3source, and they usually dominate.  The setup of war3source is for domination, and I'd like to setup something with more fair game play and yet still have fun as hell.

I am planning on updating the content regular so that it never gets old.

I have a couple of friends whom are working with me to create fun and exciting content.  I love war3source, but I truely think it needs a revamp or a different way of playing it.

Time and time again, I see that players whom work really hard to get to level 16 are asked to change race or class, just because they are dominating the server.   Why?  Because its not truely balanced.   There should be no reason to punish a player whom is playing a mod the way it's made.  I've come up with a theory with me and a few friends based on how many other games that work really well is setup.  And I plan to work this into the war3source mod to make it a much more fair game play and still be fun as hell.

My main concern is the level gap.   Can you imagine a level 16 player against a level 1 player?   Just think about that large gap... If its a level 8 vs a level 1, thats more balanced than a level 16 vs a level 1.  Some admins increase the XP that it is required to get to level 16 as a way to discourage players from leveling up to level 16, but that is only a patch and not a solution. There is much more to this than just levels, so I'll work on the mod and explain later.

On the gold side, the more players that play on the server, the greater to gold reward.  This will encourage more players to play.  It will not include bots into this calculation.

I will post when I have a stable version of my version of war3source.  Until then, you may want to watch the SVN when I post to it from my branch.
« Last Edit: May 05, 2012, 11:21:15 AM by -El Diablo » Logged
Grinlock
Newbie
*
Posts: 33


View Profile
« Reply #8 on: May 06, 2012, 02:05:33 AM »

Sounds good if U want a more fair game, but to me it seems that you lose of the the reward and satisfaction of getting to level 16 or what ever the max level may be.
Logged
-El Diablo
Full Member
***
Posts: 175


View Profile
« Reply #9 on: May 06, 2012, 11:23:58 AM »

Sounds good if U want a more fair game, but to me it seems that you lose of the the reward and satisfaction of getting to level 16 or what ever the max level may be.

We have actually thought of a way to make the game more fun and fair at the same time.  How?  Just think about those 8 levels.

I have been talking to friends and we have regrouped our thoughts.  More levels is always more fun, more stuff is always more fun, more players is always more fun... so in the attempt to keep from modifing war3source too much, we will be running 2 servers to start out.. hoping on 3 once people get enough levels.

Since another war3source server owner has said he has already tried this way, I'm not worried about explaining this method.   He said he has tried a similar method and it did not work for him, but I'm pretty sure he hasn't gone as far as to modify every race and create new addons so that this can be done:

NGUCLAN.COM's server will have only well known "non-OP" races on server 1 and a max level of 8.  Without saying too many details... the only way to get to level 16 is to go to our server #2.   Server #2 will host level 8 - 16.  if you are still level 5, you will only be able to play that level 5 race on server #1 or until it is level 8 to play on server #2.   Players will still have the same races they leveled from server #1, but will only be able to play the races that are level 8 thru 16 on server #2 including some brand new races I have been holding back that will start at level 0 and be just like level 8 starting out.  Server #2 will allow some OP races on its server.  Server #3 will have levels 16-24. and include special maps, new races, new money system, special items, etc.  Boss fights in a PVE type of game play, Quests, etc.

There is alot that we are not telling you that we are holding back until we know its finished.  We just want to give you an idea how this will develop.  We may expand sideways (that is expand servers to make more #1s or more #2s as needed).

If this catches on, we will continue to expand as long as people have interest in playing our servers.   We know it may take about a year before people really catch on to what our servers have to offer and we are willing to wait it out.  Any thing you do that relates to server game development can take alot of time for it to work.

We are still finishing up the development, and our server website will be here:  http://www.nguclan.com/

We are still working on setting up the website, forums, etc.   Once we have everything ready we will open up a server.

If our branch of war3source becomes fun for you, we will ask you to help us further develop it if you are interested.  Will post it via SVN when the product is stable.  Its the least we can do since war3source is open source.  Without war3source, we couldn't do this.

Logged
Necavi
Full Member
***
Posts: 217


View Profile
« Reply #10 on: May 06, 2012, 01:00:22 PM »

Heh, that is definitely an idea that we considered at one point, but eventually discarded because our implementation pretty much required automatic redirects.
Logged

-El Diablo
Full Member
***
Posts: 175


View Profile
« Reply #11 on: May 06, 2012, 03:00:43 PM »

Why automatic redirects required??

If people want to stay in server 1, that is up to them.  The server will notify them when they can move to server 2.

We have ways to motivate people to move to server 2 without kicking them or banning them or whatever.  It will be more physiological.   You know about the addon that redirects if they type !servers right?  We'll just let them redirect themselves when they want to upgrade.

We have researched many game servers and figured out how they motivate people to move up in level, or to another server with higher levels.  We hope that our research proves to be good.  Only time will tell.
Logged
Necavi
Full Member
***
Posts: 217


View Profile
« Reply #12 on: May 06, 2012, 09:36:05 PM »

Well, we were planning on doing much the same one, but based on average level, having them join one master server, then being automatically routed to a server appropriate to their level (we didn't think it out too far, after we learned that automatic redirects were NOT possible...unlike in goldsrc >>)
Logged

-El Diablo
Full Member
***
Posts: 175


View Profile
« Reply #13 on: May 07, 2012, 05:09:21 AM »

We could create a branch where there is unlimited levels, and when they reach level 8, on level 9 they are moved back to level 1 (so to speak), but stronger than level 1 slightly, and they think they are level 9.  This wouldn't be really right.. but it would give them a sense they are leveling..heh.

So they would always stay within level 1-8, just the numbers would change going up and up.

We think that over time, a person of level 32 may end up figuring out what is happening or figure out they aren't getting anywhere.. and say WTF?  On top of that it wouldn't be right.

I've read thru many forums on games where people actually request to start back at level 1, when they are level 16.  Maybe we need to implement a user code that can allow them to reset their own levels?

BUT WAIT.... WE HAVE A SOLUTION:

My best-friend who plays many online games suggested that we create a emblem or rank system that would keep going on the XP, but they could somehow put a special tag on their name that would give them some kind of rank beyond level 16 and keep them at level 16.  How we suggest doing this?   We copy the XP system as the RANK system.   Then rank system would be a complete copy cat of the XP system, but would not longer level them.  It would give them +1 to their ranks.  Maybe only copy the last two levels for the ranking system, in otherwords how long it takes to level from 15 to 16 and repeat every rank.  Or let the admins decide how much XP it takes to make 1 rank.  It would be more like a "Show and Tell".   So you'll know how long a player has been at that race for.. like a level 16 night elf with rank 24 would be [16:24]Playername.   [level:rank].   Then people could see the level and the rank of a player.   Maybe even have a tag [race:level:rank]  where it would be like [NE:16:60] Nightelf level 16 rank 60.  Make it where the race is 2 letter tag only.  Unlimited ranks, or until integer is maxed.  OOOORRR.. [race:rank]playername... like [NE:50]  Nightelf rank 50.. and the only way to see the ranks tag is if your level 16.  So everyone will know your level 16 when you get your first ranking tag [NE:1].

We'll work on a version of this, unless someone here says they've got it.
« Last Edit: May 07, 2012, 05:49:02 AM by -El Diablo » Logged
Grinlock
Newbie
*
Posts: 33


View Profile
« Reply #14 on: May 13, 2012, 03:18:31 AM »

I now understand what you are doing now, seems well thought out.
Fact of moving servers once achieve mid level seem like a grand idea. But this also means that you'll have to have a large player base, constant new players coming to the servers. This is the only issue I'd have with this setup/system.
At some point, there is be a larger, large players base, the highest tier servers lvl 16-24+ maybe require more slot, or even a secondary high tier server.
From a guess, I guess you have a dedicated server you'll be hosting all 3+ Servers off. If not, then there can lead to bad delay's accessing the one database from each server, and can become easily bottlenecked while 3+ servers are all trying to access the database at the same time, also causing an unpleasant experience for your players.
Logged
-El Diablo
Full Member
***
Posts: 175


View Profile
« Reply #15 on: May 14, 2012, 02:59:00 AM »

my website www.nguclan.com

I current have 2 servers, one for development, the other is lagging behind in development. Tongue

You can login to my forums to keep up to date with improvements, or different / new ideas.  I will post any races / items that I have fully tested for war3source on war3source.com.  Any races / ideas in development will be posted on my forums.  There maybe some races I hold back for my own servers (I want keep a few to be different).

I don't expect to expand to 2 or 3 online servers until my player base is bigger.  I'll be working on the level 16-24, or 16-32 races in the mean time.

I don't think any bigger slots will matter to the database, as its just a integer that is moved higher up.  if you want more slots, you just make the integer bigger.  Your race / item interpets the integer into skills and such inside the source.
Logged
-El Diablo
Full Member
***
Posts: 175


View Profile
« Reply #16 on: May 14, 2012, 05:45:33 AM »

From a guess, I guess you have a dedicated server you'll be hosting all 3+ Servers off. If not, then there can lead to bad delay's accessing the one database from each server, and can become easily bottlenecked while 3+ servers are all trying to access the database at the same time, also causing an unpleasant experience for your players.

How many users do you think mysql can handle at once?  I'm pretty sure that mysql can handle alot of users all at once, that is why it was made.


http://dev.mysql.com/doc/refman//5.5/en/too-many-connections.html

The number of connections permitted is controlled by the max_connections system variable. The default value is 151 to improve performance when MySQL is used with the Apache Web server. (Previously, the default was 100.) If you need to support more connections, you should set a larger value for this variable.


SO.. that is 151 connections!  Actually Linux or Solaris can support up to 500 to 1000 simultaneous onnections routinely and as many as 10,000 connections!

All this depends on how well your provider can handle it.

Can you imagine.. 151 servers?  Lets just say 16 levels times 151... 2416 levels!  I'm pretty sure we'll never run out..heh

So, mysql can handle everything you can throw at it.. its just how much can your service provider (host) can handle?



Does anyone here have a large player base with multiple servers that has a lag issue with their database?  If so, please tell us what service provider (host) you use as your database host.   If you have no lag issuses, please also include what database host you use... no need to explain the direct link, just the main host line so we know which hosts are good for running multiple servers on one database.
« Last Edit: May 14, 2012, 05:50:09 AM by -El Diablo » Logged
Necavi
Full Member
***
Posts: 217


View Profile
« Reply #17 on: May 14, 2012, 04:52:29 PM »

Also of note is the fact that War3Source SHOULD only have one connection (maybe two or three, of Ownz never provided a way for different engines to share database handles). And frankly the way you write MySQL queries matters more than the host in a lot of cases.
Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #18 on: May 14, 2012, 06:04:02 PM »

i beg to differ

W3GetVar

enum W3Var
{
   OldRace, //the race he was before OnRaceChanged //REMOVE DEPRECATED
   DeathRace, //race when player died
   hDatabase, // Handle to database
   hDatabaseType, // DBI driver, ie sqlite or mysql
Logged

DarkEnergy
Necavi
Full Member
***
Posts: 217


View Profile
« Reply #19 on: May 14, 2012, 06:12:50 PM »

That's why I started off saying one, because I thought that that was the most likely scenario, but not necessarily the only one Tongue
Logged

Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 402


⠠⠵


View Profile
« Reply #20 on: May 15, 2012, 01:17:20 AM »

I even posted a snipped for interacting with the db before.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!