Tidying things up #1
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
in progress...
information
invalid
not enough info
priority high
priority low
priority normal
question
request
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Techwizz/pvpgn-server#1
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
•Corrected language errors
•Added /j command, alias of /join
•Replaced instances of "PVPGN" with the name of your server
•/warrenty --> /warranty
btw I didn't test this one :(
Thanks for the corrections, test a compilation please.
I think prefs_get_servername() ("servername" from bnetd.conf) should be in the messages instead of PVPGN_SOFTWARE, so admin can change this var. Do you?
I believe that PVPGN_SOFTWARE is already used in the MOTD file along with PVPGN_VERSION
The message is:
Hello [username], welcome to PvPGN Realm!(<--- I think that's another variable)
Running version [PVPGN_SOFTWARE] [PVPGN_VERSION] on [machine].
.......more stuff.....
Those two variables are hardcoded in version.h, now that you pointed out that there's a function to get the servername from bnetd.conf, there's obviously some overlapping functionality here.
Or actually, I'm wrong.... It'd be more correct to use prefs_get_servername()
"PvPGN Realm" is defined in BNETD_SERVERNAME as default value, and it can be changed from bnetd.conf
I don't think I can even test anything right now because I already have a custom pvpgn installed already and don't want to overwrite it...
You can just check a compilation with Magic Bulder http://code.google.com/p/pvpgn-magic-builder/
I can do it, but if you want to contribute another patches, you have to check it by yourself.
I will merge this commit after that and when you replace PVPGN_SOFTWARE -> prefs_get_servername(). Thanks.
Please, fix compile errors.
Btw, Magic Builder is deprecated for code from this repository, but you can solve it simply http://forums.harpywar.com/viewtopic.php?pid=6273#p6273
That cleared a lot of errors that I was receiving but I the only major error that I get now is:
"cannot open include file 'afxres.h'"
It usually means that you have VC++ Express edition. There are include files missed from this edition, but Builder has these files in module\include\vsexpress_include, and they should be eautomatically included when building.
Do you use Magic Builder or manually open a solution file in VC++?
I used Magic Builder
If you do not receive other errors then make sure you run builder from the directory without spaces.
Try re download builder, may be you changed some important files. Remove only one CMakeLists.txt.
I just test compile on Windows 7 and VC++ 2010 and it also works.
I've done all of that and even checked that I have VC++ 2010 installed on Windows 7.
Ok this Pull Request should work now.
You forgot rename
bnhelp.conf
->bnhelp.conf.in
:)CMake will rename it back to
bnhelp.conf
after installation.Sorry,
bnhelp.conf
is actually the older version, I just removed itThere are still syntax errors in command.cpp when compile.
I thought I already committed that :/