summaryrefslogtreecommitdiff
path: root/src/net
AgeCommit message (Collapse)AuthorFilesLines
2010-04-16Remove an unneeded monster job offset in eAthena netcodeJared Adams1-6/+0
2010-04-16Fix canceling game connectionJared Adams5-10/+38
Reviewed-by: Bertram
2010-04-16Add race support for eAthenaJared Adams2-3/+3
The job/class field is used to select the race. If the given race isn't defined, it falls back on the first race (so servers can use jobs/classes without races). Also rename job to subtype for Being and subclasses, and begin support for changing monster and NPC subtypes on the fly (particle effects still need to be reset when they change). Reviewed-by: Bertram
2010-04-12Completely ignore eAthena job 45Jared Adams1-0/+8
These are warps. Reviewed-by: Bertram
2010-04-12Add support for map-server switching under eAthenaJared Adams11-17/+83
Also do some cleanup that's been needed for a while. Reviewed-by: Bertram
2010-04-11Fix one crash when switching serversJared Adams1-3/+3
Reviewed-by: Freeyorp
2010-04-09Add support for registration disabled for eAthenaJared Adams5-4/+27
Reviewed-by: Chuck Miller`
2010-04-06Fix a crash when adding new serversJared Adams1-4/+8
Reviewed-by: Chuck Miller
2010-04-03Fix a crash after changing serversJared Adams3-2/+4
Reviewed-by: Chuck Miller
2010-04-01Fix crash when trying to talk to NPCs under ManaServ at a distanceJared Adams1-0/+3
Reviewed-by: Chuck Miller
2010-03-30Rename file manaserv netcode looks from from tmw-skills.xml to mana-skills.xmlChuck Miller1-1/+1
2010-03-30Fix some memory issuesJared Adams3-1/+7
Reviewed-by: Thorbjørn Lindeijer
2010-03-29Add minimum version information to the server listJared Adams1-0/+9
Use it to hilight entries that we don't meet. Also make the entries in that list higher, put server name and location on different lines, and use the description below the list. The dialog is also resizable now. Reviewed-by: Freeyorp
2010-03-26Replace most dynamic_casts with static_castsJared Adams2-9/+12
The remaining instances can't easily or safely be changed as the classes involved don't have type information like Being does. Reviewed-by: Freeyorp
2010-03-25Remove the type boolean from InventoryWindowJared Adams5-43/+44
This moves inventory/storage type into the Inventory class, having size default to a call to the netcode to get the sive for the given type. Reviewed-by: Chuck Miller
2010-03-25Merge StorageWindow into InventoryWindowJared Adams3-6/+3
Reviewed-by: Chuck Miller
2010-03-21Fix crash when declining inviteJared Adams1-0/+3
Reviewed-by: Chuck Miller
2010-03-15Fix some branding issuesJared Adams1-0/+10
Reviewed-by: Chuck Miller
2010-03-12Add an optional offset property to monsters.xmlJared Adams1-3/+0
And remove the hardcoded offset from eAthena's BeingHandler. Reviewed-by: Freeyorp
2010-03-12Split Palette into Theme and UserPaletteJared Adams2-4/+4
Themes can now control the colors they use. Colors in the Viewport (being names, particles, etc) can still be changed by the user. Also make ProgressBars more easily colored. DyePalette was made more flexible in the process. Also fixes comparing strings of different lengths insensitively. Reviewed-by: Thorbjørn Lindeijer
2010-03-01Stop processing for next/close with no dialogJared Adams1-0/+2
2010-02-28Add delete button to ServerDialog and only save saved serversJared Adams1-0/+4
Reviewed-by: Thorbjørn Lindeijer
2010-02-28Some code cleanup regarding the server dialogThorbjørn Lindeijer1-2/+7
Reviewed-by: Jared Adams
2010-02-27Report more info on client in cURL useragent and DesktopJared Adams1-5/+6
Reviewed-by: Thorbjørn Lindeijer Reviewed-by: Chuck Miller
2010-02-27No point in calling Viewport::setMap(0) before deleting itThorbjørn Lindeijer4-4/+4
Reviewed-by: Jared Adams
2010-02-27Disable guilds for eAthena for nowJared Adams4-2/+10
Reviewed-by: Thorbjørn Lindeijer
2010-02-26Simplify arrow handling for eAthenaJared Adams1-8/+2
Reviewed-by: Thorbjørn Lindeijer
2010-02-26Make sure LocalPlayer and party members get their party setJared Adams1-0/+9
Reviewed-by: Thorbjørn Lindeijer
2010-02-24Move StorageWindow to instancing intead of globalJared Adams4-25/+87
Also make storage under eAthena more flexible. Reviewed-by: Dennis Friis
2010-02-24Add more to eAthena guild supportJared Adams12-61/+510
It's not complete yet, but it is closer. Also fix up handling of guild/party members. Reviewed-by: Chuck Miller
2010-02-23Updated some documentationThorbjørn Lindeijer1-1/+5
Also added generated documentation to the git ignore list. Reviewed-by: Jared Adams
2010-02-22Change chat autocompletion to be more flexibleJared Adams2-5/+10
Reviewed-by: Chuck Miller
2010-02-22Warn when receiving an empty update hostThorbjørn Lindeijer1-4/+10
Reviewed-by: Jared Adams
2010-02-21Restore packet 0x0195 to the correct sizeChuck Miller2-1/+2
2010-02-21Handle packet 0x0195, and shows player's party name in a popupChuck Miller3-2/+11
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer13-59/+55
Much code was moved from main() to the new Client::exec(). This new event loop now integrates with the Game class, so that the tick counter and framerate limiter apply universally. The Client class is also responsible for some things that used to be global variables. Mantis-issue: ...
2010-02-21Do some more copyright header cleanupsJared Adams30-30/+26
Fix "(C) 2009-2009" to just "(C) 2009" Fix "(C) 2010 TMW" to "(C) 2010 Mana" Remove TMW compyright on (hopefully all) files added after 0.0.29.1
2010-02-22Modify copyright headersFreeyorp114-114/+228
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer117-468/+351
2010-02-19Fixed a crash when trying to switch serversThorbjørn Lindeijer16-325/+364
Ownership of the charInfo global variable wasn't well defined. It was being locked, unlocked and generally modified from a lot of places, and somewhere in this mess it ended up crashing when switching servers. Now the CharHandler instances, for eAthena and manaserv respectively, own this list of characters. A new class, Net::Character wraps up the slot index in combination with the player dummy. The list is passed on to the CharSelectDialog each time it changes. Both related and unrelated cleanups were made as well. Reviewed-by: Jared Adams
2010-02-14Initialize dialog variable to avoid compiler warningThorbjørn Lindeijer1-4/+2
Compiler warning seems unjustified, but the code could make this more clear.
2010-02-14Force client to exit on detecting a zero length packet. The currentTametomo1-0/+3
networking code will get stuck in an infinite loop currently if it tries to handle these, and the packet id isn't helpful in identifying what packet it is. Since this specific case creates a rabbit, and will flood logger with unhandled messages until the hard drive is completely filled, it's a lot more friendly to force a client exit on detection than to continue. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-13Make NPC dialogs instance instead of globalJared Adams9-144/+151
This change allows players to talk to multiple NPCs at a time (if the server agrees). Manaserv's netcode allows multiple commerce instances too. eAthena's is limited to one commerce instance, due to protocol limitations.
2010-02-13Allow player to talk after deathAndrei Karas2-2/+3
Mantis-issue: 938 (TMW Mantis)
2010-02-11Allow redirects when downloading updatesBen Longbons1-0/+1
Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-02-09Got successfully rid of tile width/height fallback values as asked by Jaxad.Bertram2-11/+8
But I added some logs when speed and other actions where refused due to game/map uninitialized. This could help.
2010-02-09Pushed away some 32 hardcoded values.Bertram2-5/+28
2010-02-09Separated fallback defaults for tile width and height.Bertram2-9/+12
2010-02-09Made the Beings' logic be able to handle any tile height/width.Bertram8-13/+44
This is the First step to get rid of most hardcoded 32 values.
2010-02-08Move party creation command from eA's PartyTab to CommandHandlerJared Adams2-10/+12
Also fix party invite by name when you aren't in a party.