Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forked from Elyotna #10

Open
wants to merge 502 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
502 commits
Select commit Hold shift + click to select a range
210c8dc
Added new packet "Remove Item", recipes starting to look good
Elyotna Aug 14, 2014
bd895d8
* Remove stats from recipe parts when you complete the recipe
Elyotna Aug 14, 2014
1a7cbf1
Cleanup..
Elyotna Aug 14, 2014
6596112
added util: wireshark dissector (lua/dll)
psychoC Aug 28, 2014
76bb81a
ignore *.dll
psychoC Aug 28, 2014
d76cb98
* Added all turrets positions
Elyotna Sep 3, 2014
e2e36eb
Merge pull request #49 from psychoC/master
Elyotna Sep 3, 2014
a5294b7
Added kassadin's Q and R.
EIREXE Sep 9, 2014
4fcf0d8
Merge pull request #51 from EIREXE/master
Elyotna Sep 10, 2014
b8b29fe
First shot at minion automatic spawning & waypoints. Still very glitchy.
Elyotna Sep 4, 2014
234947c
More work on minions
Elyotna Sep 7, 2014
b2523e0
Added champion's death & respawn
Elyotna Sep 10, 2014
cd69e54
default values for minion spawn timers
Elyotna Sep 10, 2014
edd26a4
* Completed minions waypoints
Elyotna Sep 11, 2014
fb993f9
Merge pull request #2 from Elyotna/master
dotdeath Sep 12, 2014
5d30a5a
Fixed targeting on objects
dotdeath Sep 12, 2014
9afdd20
Merge pull request #56 from dotdeath/master
Elyotna Sep 12, 2014
21b0231
Added some of my lua progress.
leoagomes Sep 13, 2014
5856c9b
Merge pull request #58 from leoagomes/lua-progress
Elyotna Sep 14, 2014
027d5af
Added minion's death
Elyotna Sep 14, 2014
b536ccd
Some work on melee autoattacks
Elyotna Sep 14, 2014
7e2696f
More Lua functions documented
Joaquin95 Sep 15, 2014
86fea91
Buff packet, support for passives with events
Sep 15, 2014
8cbcb83
Merge pull request #59 from joaquin95/master
Gusor Sep 15, 2014
1d2bec3
Cleanup
Sep 15, 2014
cb23f4f
Merge branch 'master' of https://github.com/Elyotna/IntWars
Sep 15, 2014
89ce6e3
lua readme.md
Gusor Sep 15, 2014
966da88
Rename
Sep 15, 2014
bc5ebf5
Fixed buff duration and the way it calculates speed increase amount
Joaquin95 Sep 17, 2014
e9ffbae
Blitzcrank's W with buff icon
Joaquin95 Sep 17, 2014
1797709
Blitzcrank's passive placeholder
Joaquin95 Sep 17, 2014
97d8ebf
Braum's E
Joaquin95 Sep 17, 2014
51b5d6a
Braum's passive placeholder
Joaquin95 Sep 17, 2014
dc2cfc0
Dr. Mundo's R
Joaquin95 Sep 17, 2014
a094350
Dr. Mundo's passive placeholder
Joaquin95 Sep 17, 2014
7844b75
Evelynn's W
Joaquin95 Sep 17, 2014
461096f
Evelynn's passive placeholder
Joaquin95 Sep 17, 2014
8fe0c53
Gangplank's E
Joaquin95 Sep 17, 2014
a02539a
Gangplank's passive placeholder
Joaquin95 Sep 17, 2014
b568957
Garen's Q
Joaquin95 Sep 17, 2014
258bfdc
Garen's passive placeholder
Joaquin95 Sep 17, 2014
8388a3d
Nunu's W
Joaquin95 Sep 17, 2014
3ff126e
Nunu's passive placeholder
Joaquin95 Sep 17, 2014
89b9e31
Poppy's W
Joaquin95 Sep 17, 2014
dfa8844
Poppy's passive placeholder
Joaquin95 Sep 17, 2014
3344045
Shaco's Q
Joaquin95 Sep 17, 2014
2eb8e90
Shaco's passive placeholder
Joaquin95 Sep 17, 2014
5c61a13
Talon's R
Joaquin95 Sep 17, 2014
01986c7
Talon's passive placeholder
Joaquin95 Sep 17, 2014
d4001d7
Udyr's E
Joaquin95 Sep 17, 2014
a5eb3d8
Udyr's passive placeholder
Joaquin95 Sep 17, 2014
d8d4a6d
Manually merge #52 (VS 2014 warnings). Credits to CFusion.
Elyotna Sep 17, 2014
28edbfd
Merge pull request #60 from joaquin95/master
Elyotna Sep 17, 2014
1b6f8a5
New buff features
Sep 18, 2014
c37cd52
Merge
Sep 18, 2014
0961a92
Minions now give gold to their killer.
Elyotna Sep 18, 2014
1c8ba10
Damage texts now correspond to their type (physical, magical...)
Elyotna Sep 18, 2014
0f020a9
* Auto attacks will now feel much smoother. No more random teleportat…
Elyotna Sep 19, 2014
769e1de
Fix compiling using make
molenzwiebel Sep 19, 2014
1b84488
Added map selection in lua, map spawning based on lua coords and team…
EIREXE Sep 20, 2014
1d4a4c8
Fixed some uninitialised memory reported by valgrind which could caus…
Elyotna Sep 20, 2014
4f552fc
Properly delete dead units to not waste CPU & memory.
Elyotna Sep 20, 2014
4ffca1b
Critical Strike Changes
leoagomes Sep 20, 2014
e3576d0
Merge pull request #67 from leoagomes/master
Elyotna Sep 20, 2014
6f00ee7
Merge pull request #63 from molenzwiebel/master
Elyotna Sep 20, 2014
1aec407
Fix crash with most spell projectiles.
Elyotna Sep 20, 2014
6150e40
Merge pull request #65 from EIREXE/master
Elyotna Sep 21, 2014
12ed537
Added ".ch" command to change your champion on the fly. Don't forget …
Elyotna Sep 21, 2014
e5f81ea
Initial implementation of Experience
Michaelcraighoffman Sep 22, 2014
5afe5b5
Split exp among champions
Michaelcraighoffman Sep 22, 2014
5fd054a
Move the Visual Studio build folder
Michaelcraighoffman Sep 22, 2014
cea7f6c
Give turrets basic target prioritization
Michaelcraighoffman Sep 22, 2014
7b41133
Merge pull request #70 from Michaelcraighoffman/master
Elyotna Sep 22, 2014
d3b9c6a
Fixed map selection in lua files
EIREXE Sep 22, 2014
75d23ae
Merge pull request #72 from EIREXE/master
Elyotna Sep 22, 2014
dc70b1b
Read path of RAF-entries
satan6 Sep 21, 2014
f46d919
Fix bug preventing movement
satan6 Sep 21, 2014
982ab5f
Fix connection issue with mac client
satan6 Sep 21, 2014
098a63d
Give particles a netId to suppress game errors
satan6 Sep 22, 2014
c7bf901
Fix crash introduced in cea7f6c
Elyotna Sep 22, 2014
68ee001
Merge pull request #74 from satan6/master
Elyotna Sep 22, 2014
0b85db6
Fixed build, compile flags weren't applied for dependencies.
Elyotna Sep 22, 2014
b835254
Fixed purple respawn, add minion targeting, ..
dotdeath Sep 22, 2014
b457c4b
Added gold gain from champion kills (no assits yet)
Sep 22, 2014
55dc11b
Merge pull request #78 from hamma2/master
Elyotna Sep 22, 2014
5cc1073
Unit target should now be lost when out of range
dotdeath Sep 22, 2014
e2750e4
Merge pull request #77 from dotdeath/master
Elyotna Sep 22, 2014
26f31d1
More features between gold and champion kills system. (Gold reduction…
Sep 22, 2014
5bbc4d2
Add mac instructions
molenzwiebel Sep 22, 2014
2bea68c
This is a markdown file
molenzwiebel Sep 22, 2014
8f51a54
Removed some changes from the last commit (the second StartClient.bat…
Sep 23, 2014
c7a7c30
Merge pull request #79 from hamma2/master
Elyotna Sep 23, 2014
928e214
Some fixes for minion spawn times and not generating gold until then
Sep 23, 2014
8bdc816
ACTUALLY fixed minion spawn time, as well as set a map-specific gold-…
Sep 23, 2014
747df3f
Merge pull request #82 from Chrisazy/master
Elyotna Sep 23, 2014
1fc1143
Get gold for champions that are executed when hit within 15 seconds.
Sep 24, 2014
928c1e9
Merge pull request #87 from hamma2/master
Elyotna Sep 24, 2014
db418c0
Added the CollisionHandler
Sep 24, 2014
f42e211
Added missing functions
Sep 24, 2014
9860ffa
Added AIMesh
Sep 25, 2014
d011b8b
Fix Ezreal Q and R to do scaling damage.
Michaelcraighoffman Sep 25, 2014
66ed03e
- Fix the hit particle for Ezreal R
Michaelcraighoffman Sep 25, 2014
fe975f6
Merge pull request #85 from Michaelcraighoffman/master
Elyotna Sep 25, 2014
e14fc9e
Collision fixing
Sep 25, 2014
7aa9021
Merge pull request #80 from molenzwiebel/master
Elyotna Sep 25, 2014
74bd5b8
Fixed crash
Sep 25, 2014
1797af1
Changed codestyl
Sep 25, 2014
74d0efc
LevelProp fixes, spell net ID, autoattack change
dotdeath Sep 26, 2014
5907354
Fixed autoattack for 4.17, shop is now clickable!
dotdeath Sep 26, 2014
9dea0d9
Merge pull request #89 from dotdeath/master
Elyotna Sep 26, 2014
cf82849
First shot at handling Vision.
Elyotna Sep 25, 2014
eecd183
Fix the display of melee & caster minions, still need to fix cannons …
Elyotna Sep 27, 2014
9b6ba50
Added nexus/inhibitor vision and version check
dotdeath Sep 27, 2014
d101d40
Minions will now disappear and reappear when vision is lost / gained …
Elyotna Sep 29, 2014
e06ceb6
* Fixed siege minion skin
Elyotna Sep 29, 2014
7a54976
Merge branch 'vision'
Elyotna Sep 29, 2014
68a37ae
Add scaling health and AD to minions, fix gold scaling
Michaelcraighoffman Sep 30, 2014
91cceb6
Fixed some strict compiler issues
dotdeath Sep 30, 2014
48c9603
Merge pull request #93 from Michaelcraighoffman/master
Elyotna Sep 30, 2014
f6ce24a
Implemented logger
kalouantonis Sep 30, 2014
9d58002
Changed plain C style arrays to std::array and added mana cost deduct…
kalouantonis Sep 30, 2014
35826b3
Added champion vision handling.
Elyotna Sep 30, 2014
4a892ba
Wooops, lua config stuff...
Elyotna Sep 30, 2014
c8f4828
Removed mana deduction.
kalouantonis Sep 30, 2014
78f1bfb
Finished pathfinder
Sep 30, 2014
7b8e1a9
Added collisionsupport for walls
Sep 30, 2014
72781de
Changed to printf style logging
kalouantonis Sep 30, 2014
36a1b8f
Removed a break
Sep 30, 2014
cdb4e5d
Fixed a crash when there was no target for the object
Sep 30, 2014
7b990d7
Fixed ISO C99 warnings from using the -pedandic flag
kalouantonis Oct 1, 2014
2a8cdc9
Refined datatypes
Oct 1, 2014
05f6f88
Merge pull request #94 from kalouantonis/master
Elyotna Oct 1, 2014
4f56d3f
Finished and tested AIMesh
Oct 1, 2014
b932c35
Tested and fixed Object-Wall collision
Oct 1, 2014
a536c47
Fixed vision of dead characters
Oct 2, 2014
e9b3732
As instructed, removed dynamic cast on this
Oct 2, 2014
7f69a14
Improved collision by not colliding with dead units
Oct 2, 2014
d4d039b
Made pathfinding threadsafe
Oct 2, 2014
9a63853
Enable summoner spells
satan6 Oct 2, 2014
c2cdaa8
SetCooldown packet
satan6 Oct 2, 2014
e849f84
Merge branch 'collision'
Elyotna Oct 2, 2014
205aa56
Merge pull request #92 from satan6/master
Elyotna Oct 2, 2014
63b859d
Merge branch 'master' of github.com:Elyotna/IntWars
Elyotna Oct 2, 2014
4c33453
Get collision radius from inibin.
Elyotna Oct 2, 2014
d39fded
Merge branch 'collision'
Elyotna Oct 2, 2014
b8cb23f
Added castRay functionality
Oct 2, 2014
a3a95ca
Fixed error with Sqr function of castRay
Oct 3, 2014
3924811
Fix the weird stat issue where health could randomly drop to 0 - Don'…
Elyotna Oct 3, 2014
539023f
Fixed game time synchronization, and
dotdeath Oct 4, 2014
68b4268
Some new work with pathfinder and activated logger
Oct 6, 2014
4bb19a5
Refresh : now sleep a dynamic amount of time depending on how long it…
Elyotna Oct 6, 2014
fb88b90
Added new requested functionality to AIMesh
Oct 6, 2014
4e80537
Fixed targeting on dead units, teleport collision
dotdeath Oct 7, 2014
9d29a73
AIMesh fixes on isAnythingBetween and castRay(Sqr)
Oct 7, 2014
479c19c
Fixed isAnythingBetween and implemented terrain in vision
Oct 7, 2014
a381098
Added small explanation
Oct 8, 2014
f0b4f66
Update RAFManager.cpp
armandobasha Oct 8, 2014
d5b0977
Update Caitlyn Q
H3npi Oct 8, 2014
dde8b24
Remove some printf/puts
Elyotna Oct 8, 2014
6b4a231
Update Caitlyn E
H3npi Oct 8, 2014
29c65f6
Added announce events and turret range indicator
dotdeath Oct 8, 2014
70b6843
Merge pull request #102 from H3npi/master
Elyotna Oct 8, 2014
44418db
Fixed turret death and lifesteal/spellvamp
dotdeath Oct 8, 2014
d48bce2
Merge pull request #101 from armandobasha/patch-1
dotdeath Oct 8, 2014
6889982
Fixed segfault, minion targeting, added attack move
dotdeath Oct 9, 2014
c8d8bfc
Added new packet "Spell animation"
Elyotna Oct 8, 2014
01401cc
Added SetAnimation and semi-fix to Caitlyn E
dotdeath Oct 10, 2014
a10a6af
Added CLASSES_ROOT to the keys to check in the RAFManager getfolder f…
Oct 10, 2014
a3a9662
Changed warning text
Oct 10, 2014
4c793c8
Added getClosestTerrainExit to AIMesh
Oct 10, 2014
a49b348
More work on dashing, Cait's E starting to look like a real spell [co…
Elyotna Oct 10, 2014
43ce516
Fixed Dash client-side.
Elyotna Oct 13, 2014
0a36855
Dashing is now updated server-side.
Elyotna Oct 13, 2014
2778070
Revised AIMesh.. castRay still fails. Working on it.
Oct 14, 2014
4d5e1de
Disabled castRay because of errors.
Oct 15, 2014
6a66264
Returned wrong values when checking for vision
Oct 15, 2014
5627d8e
castRay(Sqr) works now, finally.
Oct 15, 2014
a1d8c69
Removed duplicate key in RAFManager
dotdeath Oct 15, 2014
e02b0aa
Theoretical implementation of getClosestTerrainExit
Oct 15, 2014
bd109b1
Updated to support client version 4.18
dotdeath Oct 16, 2014
e970a3a
Removed error in castRay
Oct 16, 2014
1548779
Removed small flicker error on vision
Oct 17, 2014
2126c87
Improved CollisionHandler speed. Yay!
Oct 17, 2014
6c353ce
Uploading error fixes for CollisionHandler
Oct 17, 2014
70db30f
Fixed movement from fog of war, .help command
dotdeath Oct 17, 2014
6044878
Fixed collision hopefully
Oct 18, 2014
e0c34b3
Small cleanup
Oct 18, 2014
365abc5
Fix uninitialized attribute
Elyotna Oct 18, 2014
bf06733
Cleanup initialized member attributes
dotdeath Oct 19, 2014
600e930
Fixed chat broadcasting, added disconnect/heartbeat
dotdeath Oct 21, 2014
579322b
Added support for extended packets
dotdeath Oct 22, 2014
c580740
Added selling system
Neekhaulas Oct 22, 2014
849a6ec
Merge pull request #115 from coquinounet/master
dotdeath Oct 23, 2014
150383e
Fixed summoner spells and heat-seeking minions
dotdeath Oct 23, 2014
82f62cb
Removed minion exp gain when dead
ccerrillos Oct 23, 2014
5bd5f7b
Merge pull request #117 from cacerrillos/master
dotdeath Oct 24, 2014
841366c
Added Fountain Healing
Twizzes Oct 27, 2014
fda1a74
Merge pull request #119 from Twizzes/Fountain-Heal-v4
dotdeath Oct 28, 2014
d4e4893
Improved getChampionInRange function
Twizzes Oct 28, 2014
78d4a23
Merge pull request #120 from Twizzes/master
dotdeath Nov 1, 2014
0cd74ef
Fixed map width size.
Nov 3, 2014
16269fb
Revert "Fixed map width size."
Nov 3, 2014
bfe2f73
Fixed map width size.
Nov 3, 2014
823fe34
Fixed CollisionHandler crash
Nov 3, 2014
bc3b0fb
Fixed CollisionHandler bugs
Nov 3, 2014
ed18a41
Changed CollisionHandler back to original system
Nov 3, 2014
15f2d2c
Removed printfs and replaced them with loggers.
Nov 4, 2014
3aace9b
Made MovementVector interchangable with Vector2
Nov 4, 2014
bbe0ebb
Changed X and Y to x and y.
Nov 4, 2014
084783c
Revert "Changed X and Y to x and y."
Nov 4, 2014
978c76a
Removed use of MovementVector in waypoints
Nov 4, 2014
eb34228
Fixed user movement.
Nov 4, 2014
ec56cd1
Fixed errorous positioning
Nov 4, 2014
da0da66
Fixed small things, getting Pathfinder ready to work
Nov 5, 2014
5bd699f
Changed CollisionDivision::objects to a vector
Twizzes Nov 5, 2014
9e48e48
Merge pull request #121 from Twizzes/rework
Nov 5, 2014
0ba5f08
Added official IDE support for CodeBlocks
dotdeath Nov 6, 2014
1964cd5
Reworked Minion code (not done) and small changes.
Nov 6, 2014
ed5483f
Reworked Minion completely
Nov 7, 2014
85964a0
Merge branch 'master' of https://github.com/Elyotna/IntWars
Nov 7, 2014
444c227
Removed duplicate batch files
Nov 7, 2014
7531cff
Fixed incorrect merge
Nov 7, 2014
9d1913f
Revert "Fixed incorrect merge"
Nov 7, 2014
9e2e27c
Revert "Revert "Fixed incorrect merge""
Nov 7, 2014
bd05c77
Fixed Minion bugs, turned on CollisionHandler
Nov 10, 2014
4511456
Cleaned up unit::update() a little
Twizzes Nov 8, 2014
3bc12be
Added pathfinding back, fixed some bugs.
Nov 10, 2014
67edd70
Merge pull request #123 from Twizzes/Unit.cpp_Cleanup
Nov 10, 2014
0e49ede
Removed CodeBlocks from normal batch files
dotdeath Nov 11, 2014
93a7caa
Fixed crash when minion dies
Nov 11, 2014
c6d8291
Updated to 4.20
Elyotna Nov 23, 2014
3113d64
Fixed Crash
tr33s Nov 28, 2014
71dedb0
Fix LoadName
tr33s Nov 29, 2014
f7cb827
printPacket: Make Dump Uppercase
tr33s Nov 29, 2014
637c551
Rewrote Vector2.lua and cleaned other Lua files
Nov 29, 2014
8de72c9
Merge pull request #126 from Everesty/master
Elyotna Dec 1, 2014
44b8bef
minions now have no behavior while dashing (like in blitzcrank pull)
aportner Dec 15, 2014
180a611
fixed crash when blitz uses overdrive
aportner Dec 15, 2014
055fd49
added very basic blitz pull
aportner Dec 15, 2014
74c77b3
added cast targets to spells
aportner Dec 15, 2014
ec6eb1f
fixed raise morale, added parrrley
aportner Dec 15, 2014
900a0db
added ability to get units in a range. exposed getTeam/setTeam in us…
aportner Dec 15, 2014
d5e9843
added ability to get units in a range. exposed getTeam/setTeam in us…
aportner Dec 15, 2014
704d9f3
added lineWidth to spell projectiles
aportner Dec 16, 2014
6257b05
Merge pull request #128 from aportner/master
Elyotna Dec 22, 2014
ea21106
Merge pull request #125 from trees-software/master
Elyotna Dec 22, 2014
0aabf85
Update README.md
Dec 26, 2014
6c64364
Fixed ENet dissector
Jan 5, 2015
a78fb8c
Merge pull request #131 from Boreeas/master
Elyotna Jan 12, 2015
42ac755
Merge pull request #129 from Boreeas/patch-1
Elyotna Jan 12, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
62 changes: 60 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,28 @@
*.bin
*.ilk
*.aps
*.dll

# Misc Visual Studio tmp/build related files
*_i.c
*_p.c
*.ilk
*.meta
*.pch
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.vspscc
*.vssscc
.builds
*.pidb
*.scc

# Packages
# it's better to unpack these files and commit the raw source
Expand All @@ -28,6 +50,7 @@

# Logs and databases
*.log
*.tlog
*.sql
*.sqlite

Expand Down Expand Up @@ -55,8 +78,10 @@ callgrind.out.*
*.opensdf
*.sln.cache
*.vsp
ipch
ipch/
*.cachefile
*.user
*.sln.docstates

# Subversion data folders
.svn/
Expand All @@ -71,4 +96,37 @@ LoLClient_0.0.0.118
CMakeFiles
CMakeCache.txt
cmake_install.cmake
*.lnk
*.lnk

build/
codeblocksbuild/
vsbuild/
win/NetBeans/IntWars/nbproject/*
win/NetBeans/IntWars/nbproject/private/*
# Backup & report files from converting an old project file to a newer Visual Studio version
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# Folder config file
Desktop.ini

# UNIX Makefiles
Makefile

# Ninja build files
build.ninja
rules.ninja
win/NetBeans/IntWars/nbproject/project.xml
win/NetBeans/IntWars/nbproject/private/private.xml
win/NetBeans/IntWars/nbproject/private/configurations.xml
win/NetBeans/IntWars/nbproject/project.xml

# CLion project files
.idea/
StartGame.bat
Debug.bat
log.html
*.exe
StartGame2.bat
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cmake_minimum_required (VERSION 2.6)

IF(WIN32)
LINK_LIBRARIES(ws2_32)
LINK_LIBRARIES(winmm)
ENDIF()
project (IntWars)

add_subdirectory(dep)
add_subdirectory(gamed)
7 changes: 7 additions & 0 deletions CompileServer.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@echo off
echo Building IntWars Server.
echo ------------------------------
cd build
mingw32-make -j4 all
cd ..
pause
3 changes: 3 additions & 0 deletions Debug.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@echo off
cd build\gamed\
gdb intwars.exe
24 changes: 24 additions & 0 deletions GenerateCodeBlocksProject.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@echo off
set PATH=%PATH%;C:\MinGW\bin
echo Generate IntWars Makefiles
echo ------------------------------
IF EXIST .\codeblocksbuild\ (
GOTO BUILDDIR
) ELSE (
GOTO MAIN
)

:BUILDDIR
echo Build directory exists, removing...
rmdir /s /q codeblocksbuild
GOTO MAIN

:MAIN
echo Recreating build directory...
mkdir codeblocksbuild
cd codeblocksbuild
echo Creating CodeBlocks MinGW Makefiles...
echo ------------------------------
cmake .. -G "CodeBlocks - MinGW Makefiles"
cd ..
pause
25 changes: 25 additions & 0 deletions GenerateMakefiles.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
@echo off
echo Generate IntWars Makefiles
echo ------------------------------
IF EXIST .\build\ (
GOTO BUILDDIR
) ELSE (
GOTO MAIN
)

:BUILDDIR
echo Build directory exists, removing...
rmdir /s /q build
GOTO MAIN

:MAIN
echo Recreating build directory...
mkdir build
cd build
echo Creating MinGW Makefiles...
echo ------------------------------
cmake .. -G "MinGW Makefiles"
cd ..
pause


24 changes: 24 additions & 0 deletions GenerateVSProject.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@echo off
set PATH=%PATH%;C:\MinGW\bin
echo Generate IntWars Makefiles
echo ------------------------------
IF EXIST .\vsbuild\ (
GOTO BUILDDIR
) ELSE (
GOTO MAIN
)

:BUILDDIR
echo Build directory exists, removing...
rmdir /s /q vsbuild
GOTO MAIN

:MAIN
echo Recreating build directory...
mkdir vsbuild
cd vsbuild
echo Creating Visual Studio 2013 Makefiles...
echo ------------------------------
cmake .. -G "Visual Studio 12 2013"
cd ..
pause
50 changes: 50 additions & 0 deletions Instructions_Mac.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Compiling on Mac
Make sure you have `CMake`, `make` and a compiler (bundled with XCode) installed. After that, run the following commands to setup the makefiles:

IntWars root$ mkdir build
IntWars root$ cd build
IntWars root$ cmake ..
Once you have done this, you can compile IntWars at any time by going into the build folder (`cd build`) and running

IntWars root$ make
The compiled executable will be in `IntWars/build/gamed` (named `gamed`).

# Running the server on Mac
After you have compiled the server, you can run it simply by executing the following command in the folder the `gamed` executable is in:

./gamed

*IntWars complains about missing `filearchives`?*

If IntWars complains about missing filearchives, you forgot to copy them over from the official LoL client.
They can be found using the following method:
- Right-click on your `League of Legends.app` (usually in /Applications) and choose _Show package contents_
- Navigate to __Contents/LoL/RADS/projects/lol_game_client__
- Copy the `filearchives` folder to __IntWars/build/gamed__ (or wherever your executable is located)

# Connecting to the server on Mac
Open up __Terminal__ and navigate to your `League of Legends.app` location (usually /Applications):

cd /Applications/League\ of\ Legends.app
After that, navigate to the `lol_game_client` folder:

cd Contents/LoL/RADS/projects/lol_game_client/releases
Then, press __*TAB*__ to autocomplete the current version (0.0.0.137 at the time of writing)

cd 0.0.0.137/
Almost there! Now navigate to the `Leagueoflegends` executable:

cd deploy/LeagueOfLegends.app/Contents/MacOS/

Now rests us just running the `Leagueoflegends` executable!

riot_launched=true ./Leagueoflegends 8394 LoLLauncher "" "IP_OF_SERVER PORT_OF_SERVER KEY_OF_SERVER PLAYER_ID"

For localhost:

riot_launched=true ./Leagueoflegends 8394 LoLLauncher "" "127.0.0.1 5119 17BLOhi6KZsTtldTsizvHg== 1"


This all can be combined into one command:

cd /Applications/League\ of\ Legends.app/Contents/LoL/RADS/projects/lol_game_client/releases/CLIENT_VERSION/deploy/LeagueOfLegends.app/Contents/MacOS && riot_launched=true ./Leagueoflegends 8394 LoLLauncher "" "IP_OF_SERVER PORT_OF_SERVER KEY_OF_SERVER PLAYER_ID"
54 changes: 24 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,50 +1,44 @@
RipWars
IntWars
==================
DISCLAIMER: This is for development purposes only, this is not a finished project - and should not be used in a production enviroment.
About
------
Fork of the 2 years old outdated project, emulates LoL server environment
New: Website to provide a central location to discuss the project! http://leaguesandbox.com/

Content:
* Load Screen: http://puu.sh/8cbhW.jpg
* Ingame: http://puu.sh/8cbiX.jpg
This is a fork of the 2 year old project, IntWars. It's a server framework for the MOBA games family.
If you want to contribute to the project, please fork the repo and upload any progress to GitHub.
If you need help compiling the source on Windows, [check here](http://leaguesandbox.com/forum/viewtopic.php?f=6&t=4).

Important rules and information
---------
* Keep this project clean and simple
* The project is using parts of the C++ 2011 standard.

Instructions:
* Run gamed.exe
* Run the game with this command line: "League of Legends.exe" "8394" "LoLLauncher.exe" "C:/Riot Games/League of Legends/RADS/projects/lol_air_client/releases/0.0.1.79/deploy/LolClient.exe" "127.0.0.1 5119 17BLOhi6KZsTtldTsizvHg== 47917791"

~~This is the development part of the [HeroWars](https://github.com/Intline9/HeroWars) project. Here we can try everything out without worrying with the code base.~~

Old Members - No commit for 2 years
Original Creators
-------
* Intline9 - intline9(at)gmail(dot)com
* Ltsstar

Important rules
---------
* Use this style reference for all your code: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
* Keep this project clean and simple
Other Important Contributors
-------
* Elyotna (reddit: ?)
* Spudgy (reddit: imSpudgy)
* ProudHeart (reddit: chutch1122)


License
-------
GPLv3 as sharing is caring, and when ever you extend/use/modify/fix any of this project you should share it again!

Contributing
------------
~~Want to join? Contact us and show us some work.~~

Please fork and upload any progress.

Contact
-------
We are at irc.rizon.net#botoflegends (Active)
Join if you made any progress with this so far.
For information relating to this fork, contact me on reddit: chutch1122
I'm working on setting up a website where we can organize this better. http://leaguesandbox.com/

or Bot of Legends forums (www.botoflegends.com/forum/)

Notes
-------
I updated this project on my free time, so anyone who cares can fiddle with it at the latest game version.
Notes for Compiling on Windows
---------
Note: This is a very basic explanation. I am working on a more detailed explanation, but don't have the time right now.

This project uses elements from C++11, like initialization lists. Visual Studio does not support initialization lists in the 2010 or 2012 versions. Therefore, I recommend installing/using CMake and MinGW's g++ compiler.

My reddit username is 'imSpudgy', the topic author who posted it to front page is fake, I did not announce this project anywhere.
[You can find a guide for setting that all up here!](http://leaguesandbox.com/forum/viewtopic.php?f=6&t=4)
Loading