madmaxoft
f92512ebdf
Exported static XP calculation to Lua API.
2013-11-21 22:09:11 +01:00
Mattes D
ced076c561
Merge pull request #350 from mc-server/arrows
...
Fixed arrow bugs
2013-11-19 01:13:49 -08:00
Tiger Wang
6ff6929ca6
General fixes [SEE DESC]
...
* Fixed faulty block face enumeration and functions
+ Added fireworks and exp bottle spawning
* Fixed arrows again
2013-11-16 20:58:17 +00:00
Daniel O'Brien
cd1c405894
minor change in LOGD call
2013-11-17 00:13:53 +11:00
Daniel O'Brien
c7f38761ed
removed magic number
2013-11-16 22:46:27 +11:00
Daniel O'Brien
d2d8b1d073
edited comment and changed error behavior of DeltaXp
2013-11-16 22:43:42 +11:00
Daniel O'Brien
b3bb34974f
updated plugin again...
2013-11-16 22:17:46 +11:00
Daniel O'Brien
b72ced3164
removed SpendExperience and changed AddExperience to handle removing Xp
2013-11-16 22:00:45 +11:00
Daniel O'Brien
3595392937
fixed bug and added SpendExperience()
2013-11-16 21:38:57 +11:00
Daniel O'Brien
c0c8fe1bcd
fix possible threadlock issue, changed function names to be closer to standard
2013-11-16 20:29:57 +11:00
Tiger Wang
7a0d2033b6
Switchified If, ElseIf statement
...
Also updated comments
2013-11-15 22:47:57 +00:00
Daniel O'Brien
a94a6d48a0
alignment fixes :)
2013-11-16 02:32:04 +11:00
Daniel O'Brien
04dff4882a
finished #143 I believe
2013-11-16 02:23:50 +11:00
Daniel O'Brien
1b2e6e7473
added cProtocol function to pass xp to client
2013-11-15 22:42:09 +11:00
Tiger Wang
15c330664a
Fixed arrow bugs
...
* Fixed arrows hitting blocks wrong
2013-11-14 22:39:14 +00:00
Daniel O'Brien
ea778c7027
fixed XpGetPercentage
2013-11-15 01:46:41 +11:00
Daniel O'Brien
dbc2694b0f
fixed function name
2013-11-14 16:48:14 +11:00
Daniel O'Brien
21bd1d74a1
luaExport
2013-11-14 16:20:27 +11:00
Daniel O'Brien
d5c6d0666e
fixed comment
2013-11-14 07:12:16 +11:00
Daniel O'Brien
b0be6cb02d
changed function name
2013-11-14 07:07:57 +11:00
Daniel O'Brien
8c6bdca425
minor changes
2013-11-14 07:02:53 +11:00
Daniel O'Brien
c17f77cf2a
changed name convention
2013-11-14 04:41:36 +11:00
Daniel O'Brien
bf2dc38f35
Fixed problems with code style etc
2013-11-14 04:25:47 +11:00
Daniel O'Brien
875bca5fb9
Player Xp, includes get/set and addExperience
2013-11-14 01:07:24 +11:00
Daniel O'Brien
fc0b6adf51
Player Xp, includes get/set and addExperience
2013-11-14 01:05:58 +11:00
Daniel O'Brien
3b47a07bac
Player Xp
2013-11-14 00:50:47 +11:00
madmaxoft
293051eca8
Merge remote-tracking branch 'origin/fixes'.
2013-11-13 11:08:51 +01:00
Tiger Wang
347162a82f
Bundled fixes [SEE DESC]
...
* BoundingBox now returns FACE_NONE
+ Arrows can be picked up
* Arrows dug up resume physics simulations
* Added sound effects for bows, lava to stone, and arrows
* Fixed SoundParticleEffect on <1.7 protocols
2013-11-12 21:43:20 +00:00
Tiger Wang
f713780db3
Bundled fixes [SEE DESC]
...
* Fixed compiler warning in Monster.cpp
* Future proofed particle effects
* Improved pickups, made less jittery
2013-11-10 22:20:25 +00:00
Tiger Wang
71abbb2f56
Bundled fixes [SEE DESC]
...
* Fixed pickups spawning in an incorrect position from a JukeBox
* Pickups make a popping sound in Prtcl1.7
* Arrows make a *what sort of sound does an arrow make anyway‽* when
hitting a block, and a popping sound when fired
* Mobs again have metadata
* Fixed Prtcl1.7 not using valid JSON to kick a client
* Minecarts and arrows again have metadata
2013-11-10 20:48:12 +00:00
madmaxoft
9bdc94053e
Added cEntity:GetYaw() and cEntity:SetYaw().
...
This is the preferred way to get / set rotation, GetRotation() and SetRotation is obsoleted due to bad name.
2013-11-03 11:59:05 +01:00
madmaxoft
7dc96f0441
Added cPlayer::GetEffectiveGameMode().
2013-11-03 11:59:05 +01:00
Tiger Wang
f38375a2ec
Fixed bow damage in creative
...
Also reverted indenting change
2013-11-02 16:01:40 +00:00
Tiger Wang
77b3db7e25
Multiple fixes
...
* Fixed #282
* Fixed bow not taking damage
* Enhanced Player.cpp code
2013-11-02 14:08:00 +00:00
tonibm19
e96c1aebfe
Using tabs
2013-10-29 16:44:45 +01:00
tonibm19
8a6511d329
fixed indentation
2013-10-28 21:45:49 +01:00
tonibm19
b26acdb9db
extra line
2013-10-28 21:41:43 +01:00
tonibm19
669beef2de
attempt at fixing indentation
2013-10-28 21:37:45 +01:00
tonibm19
b182f25324
Extra line
2013-10-28 21:00:14 +01:00
tonibm19
1841d77952
Fixed indentation
2013-10-28 20:58:50 +01:00
tonibm19
8c9fa9cf35
Added random chicken spawn when throwing an egg
2013-10-28 20:57:04 +01:00
madmaxoft
9e9198e090
cIniFile doesn't store filename internally anymore.
2013-10-25 11:15:44 +02:00
madmaxoft
99d369d837
cPickup cleanup.
2013-10-24 16:44:25 +02:00
madmaxoft
625c5f86de
Fixed cPickup's constructor's parameter naming.
2013-10-24 15:05:23 +02:00
madmaxoft
eca6955a2d
Cleanup in cPlayer.
2013-10-24 12:24:40 +02:00
madmaxoft
d359c5a2fe
Unified cPlayer's Heal() function with cEntity's.
2013-10-24 12:24:39 +02:00
Tiger Wang
4d2c810c64
Pickups now have collection delay when vomited
...
Implements FS#394.
2013-10-24 00:30:20 +01:00
madmaxoft
e62cac07c0
Merge branch 'metadata' of git://github.com/tigerw/MCServer into tigerw-metadata.
2013-10-13 18:26:45 +02:00
Tiger Wang
d8d2f35e9d
Eight round of fixes
...
* Changed IsA() to *long if statement*
- Removed deprecated values in Entity.h - to blazes with the plugins!
* Renamed villager type enumerations to be LESS SHOUTY and more vt-y
+ Use vtMax for World.cpp testificate spawning
2013-10-13 12:47:55 +01:00
Tiger Wang
fe6fa23a97
Second round of fixes
...
* Implemented suggestions
2013-10-09 21:02:59 +01:00