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, 08:54:26 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] 2 3 ... 6
  Print  
Author Topic: 1.2.0.x  (Read 8605 times)
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2031



View Profile WWW Email
« on: January 07, 2011, 11:00:13 AM »

download: www.ownageclan.com


BACKUP DATABASE
UPDATE TRANSLATIONS

***B6 above translation changes: update translations. recompile all races IF u have translation errors

Ownz is pretty busy with school

B7

NEW RACE: HAMMERSTORM (please translate)

added Levelbank info in detailed information (war3admin)
added Levelbank Managing in war3admin
A little for loop optimisations
resource precache stocks from Frezzy
disabled SH heal wave beam for now
Added bImmunityWards buff (skill immunity will include ward immunity)
socket errors now will print to NotError log
Added AntiWards item
fixed xp retrieve time count

B6

event InitPlayerVariables
fixed some race restrictions
renamed 2 translation files (for each language) because TC admin likes to block them

B5

debuging stuff

w3log w3logerror w3lognoterror (new) are now in separate files

constants change
100 maxitems
200 maxraces

B4

optimizations, error checking
error in string comparisons dude to length difference, this fixes duplicate skills

B3
 
SH healing wave effect for TF2

B2

minor menu fixes

B1

translation updates
color messages changes
color.inc is now included
« Last Edit: February 12, 2011, 01:50:16 PM by Ownz » Logged

DarkEnergy
zero
Full Member
***
Posts: 191



View Profile WWW Email
« Reply #1 on: January 07, 2011, 11:20:20 AM »

Do you mean 1.2.0.x not 1.1.2.x?
Logged

Schmarotzer
Full Member
***
Posts: 189


Ich schmarotze dich!

258631507
View Profile WWW
« Reply #2 on: January 07, 2011, 12:11:10 PM »

by form of habit Cheesy
Logged

Welcome to my server
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2031



View Profile WWW Email
« Reply #3 on: January 07, 2011, 02:01:28 PM »

my bad
Logged

DarkEnergy
zero
Full Member
***
Posts: 191



View Profile WWW Email
« Reply #4 on: January 07, 2011, 02:08:18 PM »

I think the rar file is mislabeled too lol  Wink
Logged

zero
Full Member
***
Posts: 191



View Profile WWW Email
« Reply #5 on: January 07, 2011, 04:52:03 PM »

Is there any way to turn off the welcome message that now appears when you first join the server?

I tried looking though the cvar list but could not find anything...

Logged

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



View Profile WWW Email
« Reply #6 on: January 07, 2011, 04:56:37 PM »

mandatory welcome message
Logged

DarkEnergy
zero
Full Member
***
Posts: 191



View Profile WWW Email
« Reply #7 on: January 07, 2011, 05:10:50 PM »

Can you please make an option to replace it. I already use a custom one that works a lot better and is only displayed to new players. Can you at least tell me what file it is in so that I can try to comment it out. My players cry about annoying little things like this which is why I had made my own a long time ago.
Logged

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



View Profile WWW Email
« Reply #8 on: January 07, 2011, 05:12:20 PM »

why not share?
Logged

DarkEnergy
zero
Full Member
***
Posts: 191



View Profile WWW Email
« Reply #9 on: January 07, 2011, 05:15:03 PM »

I can it is just hard coded for my servers (as a result I figured it would not really be useful for anyone) but the code is below:

Code:
#pragma semicolon 1    ///WE RECOMMEND THE SEMICOLON

#include <sourcemod>
#include <sdktools>
#include <sdktools_tempents>
#include <sdktools_tempents_stocks>
#include "W3SIncs/War3Source_Interface"

public Plugin:myinfo =
{
    name = "War3Source - Addon - Wealcome",
    author = "ZERO <ibis>",
    description = "Give New Players a Welcome Menu",
    version = "1.0",
};

public OnClientPostAdminCheck(client)
{
CreateTimer(1.0,Join,client);
}

public Action:Join(Handle:timer, any:client)
{
new totallevels = W3GetTotalLevels( client );

if(20 >= totallevels)
{
//Delay to give player weapons
CreateTimer(29.1,Welcome,client);
CreateTimer(31.1,WelcomeChat,client);
}
}

public Action:WelcomeChat(Handle:timer, any:client)
{
PrintToChat(client,"\x01Type \x04war3menu \x01for commands and help.");
}

public Action:Welcome(Handle:timer, any:client)
{
//Create message pannel
new Handle:WelcomePanel = CreatePanel(INVALID_HANDLE);

//Title
SetPanelTitle(WelcomePanel, "Welcome to IBIS WCS Mod+");

//Message Body
DrawPanelText(WelcomePanel, " ");

DrawPanelText(WelcomePanel, "NOTE: this server runs WAR3 not WCS");

DrawPanelText(WelcomePanel, "However gameplay is that of WCS");

DrawPanelText(WelcomePanel, " ");

DrawPanelText(WelcomePanel, "Type war3menu for commands and help");

DrawPanelText(WelcomePanel, " ");

DrawPanelText(WelcomePanel, "0. Close");

//Send the pannel to client
SendPanelToClient(WelcomePanel, client, NullMenuHandler, 60);
CloseHandle(WelcomePanel);

return Plugin_Handled;
}

//Required to catch actions from any Panel
public NullMenuHandler(Handle:menu, MenuAction:action, param1, param2)
{
}


Logged

[Oddity]TeacherCreature
Sr. Member
****
Posts: 461


View Profile
« Reply #10 on: January 08, 2011, 08:45:38 AM »

can u not blast the server with please use recent version messages I have gotten more than a few complaints
Perhaps only include that message for final versions
cause I got message spent na hour to update to 1.9F only to find out the message is still there and now there is a 1.2

It takes me longer to update then it takes u to release updates
I use my own version of all your races and at least half of the engines now too
So when my Real Life keeps my busy I dont have a ton of time to update and u release3 updates liek every otehr day - omg

save some of them and release an update once a week pelase or only send that annoyign mesage on final versions please

Smiley
Logged

[Oddity]TeacherCreature
Sr. Member
****
Posts: 461


View Profile
« Reply #11 on: January 08, 2011, 09:42:16 AM »

ok so i had time to update and now i am running 1.22 and it still says I am running 1.9x? and gives me messages to update WTF


update... I found why

war3source wasnt compiling so it was using my old version of war3source
It wouldnt compile because it requires a definition if constants.inc of OnDeathPre

so now I have to adjust constants.inc which I didnt want to do since I have to go back and remake all the changes I made to it ..

this is part of the reason updating is a pain it has already taken me like 45 minutes and I am not done updating.
« Last Edit: January 08, 2011, 10:00:29 AM by [Oddity]TeacherCreature » Logged

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


⠠⠵


View Profile
« Reply #12 on: January 08, 2011, 10:26:24 AM »

Well, that's the life you gotta live if you choose to customize everything and have nothing committed to the main branch  Cheesy
Logged

zero
Full Member
***
Posts: 191



View Profile WWW Email
« Reply #13 on: January 08, 2011, 03:54:30 PM »

ok so i had time to update and now i am running 1.22 and it still says I am running 1.9x? and gives me messages to update WTF


update... I found why

war3source wasnt compiling so it was using my old version of war3source
It wouldnt compile because it requires a definition if constants.inc of OnDeathPre

so now I have to adjust constants.inc which I didnt want to do since I have to go back and remake all the changes I made to it ..

this is part of the reason updating is a pain it has already taken me like 45 minutes and I am not done updating.

I know how you feel, lucky for me I only need to edit the constraints and compile one engine script. Although I did need to do a lot of editing to get shopmenu back the way I had it. As all the items are in one big file all my changes to them are more difficult. As for races I also use all custom but I did not need to change anything on mine so I am not sure what problems you had there.
Logged

Trebor
Newbie
*
Posts: 6


View Profile Email
« Reply #14 on: January 08, 2011, 09:09:47 PM »

update went perfect for me.
Logged
[Oddity]TeacherCreature
Sr. Member
****
Posts: 461


View Profile
« Reply #15 on: January 09, 2011, 10:24:09 AM »

MY problems are I do not use a VANILLA mod like you guys, I have altered a few of the INC files and a few of the ENGINES, and I dont use any of the default races as provided..

So when there is an  update liek this I dont use the SMX I have to use the .sp and recompile everything, which isnt a big deal but when something like war3source requires the new constants.inc which I dont use because mine is custom I ahve to try and guess and debug what was changed on connstants.inc and then manual change each thing...

the changelog provided is often just blanket statemetns about features instead of specific coding changes to specific files, and if it was up to me I would request specific LINES in each file that were changed... This way people who dont know the code can learn from reading about the changes and those with custom files can just make the changes manually themselves (since this is what I have to do anyway)
Then  I wouldnt have to search for them and figure it all out from scratch.

Smiley
Logged

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



View Profile WWW Email
« Reply #16 on: January 09, 2011, 11:22:14 AM »

1 ownageclan.com/websvn
2 its what addons are for. so you dont mess with real engines
« Last Edit: January 09, 2011, 11:32:23 AM by Ownz » Logged

DarkEnergy
zero
Full Member
***
Posts: 191



View Profile WWW Email
« Reply #17 on: January 09, 2011, 11:52:09 AM »

Actually I do agree, it would be great to know exactly what lines were changed. Not only so that it is easier to update custom scripts for compatibility but also so that it is easier to identify the code added in new features. This makes programing in general much easier as changes are straightforward and easy to identify.
Logged

Naris
Jr. Member
**
Posts: 60


View Profile Email
« Reply #18 on: January 09, 2011, 05:19:39 PM »

but when something like war3source requires the new constants.inc which I dont use because mine is custom I ahve to try and guess and debug what was changed on connstants.inc and then manual change each thing...

the changelog provided is often just blanket statemetns about features instead of specific coding changes to specific files, and if it was up to me I would request specific LINES in each file that were changed... This way people who dont know the code can learn from reading about the changes and those with custom files can just make the changes manually themselves (since this is what I have to do anyway)
Then  I wouldnt have to search for them and figure it all out from scratch.

That is why you should *always* use a version control system or at least something like WinMerge http://winmerge.org/

I would suggest something like Subversion http://subversion.tigris.org/ (with Tortise for windows http://tortoisesvn.net/), Mercurial http://mercurial.selenic.com/ or git http://git-scm.com/

Also note that War3Source itself uses Subversion, which is what the ownageclan.com/websvn link Ownz mention links to. You can perform diffs using that link to see exactly which lines were changed for any version.
« Last Edit: January 09, 2011, 05:24:46 PM by Naris » Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2031



View Profile WWW Email
« Reply #19 on: January 09, 2011, 05:21:25 PM »

neither I or oddity are technical enough to understand versioning systems, but w3s currently as one, see the sticked topic
Logged

DarkEnergy
Naris
Jr. Member
**
Posts: 60


View Profile Email
« Reply #20 on: January 09, 2011, 05:56:26 PM »

Version Control Systems are not difficult to use. What they do is save multiple versions of each file under their control (actually they usually save the differences, but that is a technical detail you don't need to worry about since they handle it internally).

In some version control systems you have to "check out" the files before you can modify them. Others, such as Subversion, will allow files to be modified without having to "check them out" first. In either case, you then "check in" the files when you have finished making a change.

Version control systems will also let you query the repository to see what changes between any given version of individual files and/or directories. Subversion calls the history the "Log" and websvn has a log icon you can click on to see the history of any given file and/or directory. It also has a diff button to see the differences between the latest version of a file and the previous version of said file.

You can also use version control systems to merge changes made by several different people to the same file or files. This makes what oddity needs to do a lot easier, if not completely automated. All he would need to do is have 1 branch that tracks the "official" version of War3Source and another branch with his version. Then he could have subversion, or whatever, merge the changes from the official branch to his branch. http://www.youtube.com/watch?v=4WC44T89VrY
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2031



View Profile WWW Email
« Reply #21 on: January 09, 2011, 05:58:41 PM »

Naris, start developing w3s on the public repository
Logged

DarkEnergy
zero
Full Member
***
Posts: 191



View Profile WWW Email
« Reply #22 on: January 09, 2011, 09:37:37 PM »

You could also ask the SM admins for help as I am sure they could tell you how they do it for SM.
Logged

Naris
Jr. Member
**
Posts: 60


View Profile Email
« Reply #23 on: January 09, 2011, 10:04:05 PM »

Naris, start developing w3s on the public repository

What are you talking about?
Logged
[Oddity]TeacherCreature
Sr. Member
****
Posts: 461


View Profile
« Reply #24 on: January 10, 2011, 09:40:26 AM »

I have used tortoisesvn before but honestly i dont know alot about them and I have even less time to mess with it.

All of my changes are all ready hard coded throguhout the mod into the main files so addons is no longer a possbility ebcause of the work it would take to fix.. I have over 50  races runnings with zero crashes and no errors ever (except constant annoying stats engine errors) I just hate to mess with it.

Where as if u made a simple enough changelog with ur changes such as naming which files (woudl like line by line but not if ur too lazy) then i could simply adjust those files and would save me hours of work.
Logged

Pages: [1] 2 3 ... 6
  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!