Commit graph

194 commits

Author SHA1 Message Date
Image
0091eedd0a spawn move close_heading needed to also update spawn_location_placement
the spawn_location_placement heading must match close heading
2020-03-27 08:57:39 -04:00
Image
38389b1d3a Exe Updates 2020-03-27 08:43:09 -04:00
Image
9f01692d8d Fixed bug on spawn move close_heading 2020-03-27 08:43:02 -04:00
Image
aab0ba8883 Create stormhold_door_fixes.sql 2020-03-26 23:40:57 -04:00
Image
35c0b7a1d6 Exe Updates 2020-03-26 17:43:38 -04:00
Image
d71e9c76ee Mem leak fix for async query code 2020-03-26 17:43:01 -04:00
Image
d736517287 Exe Updates 2020-03-25 23:15:56 -04:00
Image
7c42966f14 Fixed erase crash when no client to erase 2020-03-25 23:15:48 -04:00
Image
cb0d07c5fa Character saves needed to be async, too slow to run synchronous in client process
Fixes 

Database class now has the ability to asynchronously run queries that don't tie up the process threads.

This is being utilized right now for character saves as that seems to be the slowest process.  However query id's (and potentially extension of such) can allow anything to be asynchronous -- and later on even add return vars.
2020-03-25 23:15:31 -04:00
Image
456cfa5828 Deadlock fixes in new GetScriptName 2020-03-25 22:35:59 -04:00
Image
1dfbf01cf4 Fix crash on login to zone
Fixes 

Client gets ahead of server, tries to get character info before we set appropriate structures for client to use
2020-03-25 21:06:18 -04:00
Image
d11d58df75 enemy target group spells do not impact current target
Fixes 
2020-03-25 00:04:50 -04:00
Image
e3a44d9cdf Login Exe Update 2020-03-24 22:23:58 -04:00
Image
5cd1bacc28 Login Server Updates
Fixes  - check on if an account exists or not before attempting an account creation (we still rely on the DB to do the password comparison as its own query)
2020-03-24 22:23:51 -04:00
Image
43e87ebf3a Exe Updates 2020-03-23 22:47:48 -04:00
Image
9bbd10e147 Command to move spawn to your current location
Fixes 
new command : /spawn move myloc
Updates X,Y,Z,Heading to the players current values and saves the spawn_location_placement
2020-03-23 22:47:41 -04:00
Image
c724918484 Removed unused rule SpeedRatio 2020-03-22 17:08:04 -04:00
Image
5dfafe4464 Linux fixes 2020-03-22 17:07:49 -04:00
Image
a7dfb31f39 Exe Updates 2020-03-22 13:18:47 -04:00
Image
3234470441 disarm chest traps trigger on group
Fixes 

Added group triggers to disarm chest traps.

Rule R_Loot, ChestTriggerRadiusGroup added (by default 10.0f).  Outside radius group members will not be impacted
2020-03-22 13:18:40 -04:00
Image
99cfea29e0 Exe Updates 2020-03-22 10:18:10 -04:00
Image
f0d1fb950d Update Spawn.cpp
Include not needed
2020-03-22 10:18:04 -04:00
Image
19f945690f Exe Updates 2020-03-22 09:46:24 -04:00
Image
04498a2490 Player/Target Radius added to distance checks
Radius is now built into the GetDistance formula, it also is based on f32/32.0f per recommendations of peak (Thx peak!)

Added combat range as a rule: rule_manager.GetGlobalRule(R_Combat, MaxCombatRange)->GetFloat()

Fixes 
2020-03-22 09:45:40 -04:00
Image
442868f80a smash crash fix for camera shake
crash fix for camera shake by smash
2020-03-21 21:22:52 -04:00
Image
4694e15f28 naetz09 Templar Cure Spell fix
CureDetrimentByType -> CureByType
2020-03-21 17:06:43 -04:00
Image
0d5016cbbf Exe Updates 2020-03-21 11:32:38 -04:00
Image
151b1fc91a Disarm chest old rules
- Added rule R_Loot, AutoDisarmChest enabled (1) by default.  Setting to 0 will mean you must right click and disarm chest, clicking the chest will not auto disarm and instead always trigger the trap

Fixes 
2020-03-21 11:32:07 -04:00
Image
1098fb7162 Exe Updates 2020-03-21 07:42:47 -04:00
Image
7d6de27e1f spawn combine save crashes, reports wrong location id
Fixed spawn combine save, was previously crashing (RemoveSpawn called multiple times) and also giving the wrong spawn location id as well (in the message output to the client)

Fixes 
2020-03-21 07:42:40 -04:00
Image
cc25e4f3d1 Exe Updates 2020-03-21 00:24:43 -04:00
Image
e86c4bb4aa Added rule R_Spells,NoInterruptBaseChance set to 50
Base chance to resist interrupt was 30%, increased to 50%.  Maybe later on a level restriction to reduce when you are much higher level than your target.

Fixes 
2020-03-21 00:24:36 -04:00
Image
a58ab7a27c Exe Updates 2020-03-20 23:42:18 -04:00
Image
47604d1735 LUA Filename Tracking in errors
Can translate lua_state into applicable filename, used to expose errors in logs.

Fixes 
2020-03-20 23:42:12 -04:00
Image
c8540dd3c6 Exe Update 2020-03-20 23:41:32 -04:00
Image
cbdef22c5f LoginServer Patches
- allow more than one world server
- fixed some of the fields in the WorldList being set properly
- Added a flag in CreateCharacterReply
2020-03-20 23:41:27 -04:00
Image
55c62f82b8 Exe Updates 2020-03-19 09:48:35 -04:00
Image
6676f66184 LoginServer.ini reading updated
- LoginServer and LoginConfig blocks now break out if we enter a new block (previously the ini was read all thru)
- Upon a failure from login server, world server will attempt to reload the ini (you can change account name/password on the fly if it is wrong)
2020-03-19 09:48:30 -04:00
Image
ad12e29854 Exe Updates 2020-03-19 09:05:38 -04:00
Image
5a38e28d1e Added customizeable LootRadius rule
Syncs to disarm and loot right click options + /loot distance check.

Fixes , side issue  to be fixed in Aries Stage 1.0
2020-03-19 09:05:24 -04:00
Image
fa3312888f Exe Update! 2020-03-19 08:40:27 -04:00
Image
49483cfeba LS needs to send char list after character delete to remove 'recoverable' char option
Fixes 
2020-03-19 08:40:21 -04:00
Image
5b902d66e2 Update README.md 2020-03-18 23:55:23 -04:00
Image
5aaa096d6f Update README.md
Note that the account creation option can let you bypass inserting a account to mysql/mariadb
2020-03-18 23:54:56 -04:00
Image
66f781ab86 Exe Update! 2020-03-18 23:49:03 -04:00
Image
d87a363e4b Login Server now supports auto account creation upon a new acct
This includes creation of a new parameter in the LoginServer.ini, AccountCreation in the LoginConfig block can be 0 to disable, by default it is 1 (or if the field is not defined, its considered true)

Fixes 
2020-03-18 23:48:57 -04:00
Image
ec9b1ae7a5 Exe Updates 2020-03-18 23:15:18 -04:00
Image
6a06b51c5d SHA512 Implementation **Must reset password on worldservers and accounts**
Fixes 

LS database:
- md5 no longer used, now use sha2('password',512) instead for mysql/mariadb
- account table passwd expanded to 256 chars
- login_worldservers password field expanded to 256 chars

manual update:

\u eq2ls
alter table account modify column passwd varchar(256) not null default '';
alter table login_worldservers modify column password varchar(256) not null default '';
2020-03-18 23:15:10 -04:00
Image
bebc88e949 Exe Updates 2020-03-18 22:43:40 -04:00
Image
870c3f61ac Update WorldDatabase.cpp
Update support for spawn_widgets and spawn_signs.  Also place holder for insert.  Fixes .
2020-03-18 22:43:10 -04:00