Commit f5c84ee
authored
server_crash_fix: OnPlayerGiveXP (mod-playerbots#1929)
[fef0ed4072c8_worldserver.exe_.18-12_23-30-44.txt](https://github.com/user-attachments/files/24258638/fef0ed4072c8_worldserver.exe_.18-12_23-30-44.txt)
- Just added common logic and defense coding
- Optimized isRandombot while at it
Just for clarification i am aware the trigger of bug lies with the
progression mod. Regardless it should not happen.1 parent b6f8828 commit f5c84ee
2 files changed
Lines changed: 23 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
243 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
244 | 247 | | |
245 | 248 | | |
246 | | - | |
247 | | - | |
| 249 | + | |
| 250 | + | |
248 | 251 | | |
249 | | - | |
| 252 | + | |
| 253 | + | |
250 | 254 | | |
251 | | - | |
| 255 | + | |
252 | 256 | | |
253 | 257 | | |
254 | 258 | | |
255 | 259 | | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
| 265 | + | |
272 | 266 | | |
273 | | - | |
| 267 | + | |
| 268 | + | |
274 | 269 | | |
275 | 270 | | |
276 | 271 | | |
277 | 272 | | |
278 | | - | |
279 | | - | |
| 273 | + | |
| 274 | + | |
280 | 275 | | |
281 | 276 | | |
282 | 277 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2594 | 2594 | | |
2595 | 2595 | | |
2596 | 2596 | | |
2597 | | - | |
2598 | | - | |
2599 | | - | |
2600 | | - | |
2601 | | - | |
2602 | | - | |
2603 | | - | |
2604 | | - | |
2605 | | - | |
| 2597 | + | |
| 2598 | + | |
2606 | 2599 | | |
2607 | | - | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
2608 | 2605 | | |
2609 | 2606 | | |
2610 | 2607 | | |
| |||
0 commit comments