[Source] Increase Bag-Pack space NOOB FRIENDLY

It's not a bug, if you increase the size of the field and/or raise the limit of items held, there will be performance costs as well as storage costs. It's easy to fix, but I wouldn't recommend storing that many items per character unless necessary/important.

Well, by bug, I simply mean the items disappearing on server restart. And yeah, I'm not surprised by any of that. I was merely explaining how to fix the bug, I didn't say there wouldn't be a cost to doing it lol even though I didn't know what it was.
 
The size of what should I increase in the database?
I can only find 3 columns, and I want to double the backpack space.
But I can't double the first column size, because it can't go over 8000.
What should I do?
 
The size of what should I increase in the database?
I can only find 3 columns, and I want to double the backpack space.
But I can't double the first column size, because it can't go over 8000.
What should I do?

what you'd have to do is make duplicate column for each of them, and code the source to save half the items in the first set of columns and the other half in the second set.

Btw, even though I haven't done this, I know it's way more complicated than it seems.
 
what you'd have to do is make duplicate column for each of them, and code the source to save half the items in the first set of columns and the other half in the second set.

Btw, even though I haven't done this, I know it's way more complicated than it seems.

Thanks, I'll try that. But it's a lot to code lol.
 
Apologize to Aspire if I said that this is useless, but when I tried it in my server. It became really useful but there's a problem about it when I gave the updates for it. Players who use xtra bag, their stuffs that inside the bag was lost everything. And now they are telling me to remove the update that I put and put back the last update (to remove the increase bag) so they will get their stuff in the bag they used.

Is there any solution to fix this problem to those players who lost their stuff in the bug, by adding this kind increase bag space?
 
Apologize to Aspire if I said that this is useless, but when I tried it in my server. It became really useful but there's a problem about it when I gave the updates for it. Players who use xtra bag, their stuffs that inside the bag was lost everything. And now they are telling me to remove the update that I put and put back the last update (to remove the increase bag) so they will get their stuff in the bag they used.

Is there any solution to fix this problem to those players who lost their stuff in the bug, by adding this kind increase bag space?

I think there's no way to get the items back because the backpack query was deleted.
Just fix the bug (read the other posts here) and give the items back manually.
 
Hello, thanks for the tutorial first.
I took over everything, including the 90.
When I logged in, everything went well and I was able to use the extra bags.
After restarting all items were gone.


2021/02/09 00:34:00
query:{call uspSavePocket( '01', '0000001', ?, ?, ?, ?, ?, ?, ?, ?, ?) }
SQLSTATE:22001 error:[Microsoft][SQL Server Native Client 11.0]Die Zeichenfolgedaten wurden rechts abgeschnitten
2021/02/09 00:41:29
query:{call uspSavePocket( '01', '0000001', ?, ?, ?, ?, ?, ?, ?, ?, ?) }
SQLSTATE:22001 error:[Microsoft][SQL Server Native Client 11.0]Die Zeichenfolgedaten wurden rechts abgeschnitten

No more Help needed, i found the mistake :)!
 
Last edited:
my surce doesn't have this file "pocket.h" how do i do it?I made the modification in the data base and in the itemDB, but the last slots are buggy.
 
¡Hola 'Zoners!,

Aspire aquí con mi primer tutorial, ya que no lo he encontrado publicado aquí, pensé en "publicarlo" (por favor, díganme si no es así. (No estoy en e*pvp, Gamerzn**ds ni nada por el estilo, así que no lo revisé allí)).

Entonces, en este tutorial vamos a aumentar el espacio en tu mochila (extra) al tamaño que desees, lo que normalmente suma 24 espacios.

Vaya a su fuente y vaya a *\_Common y abra 'Pocket.h'.

Presione CTRL+F y busque
[código]
#define MAX_BOLSILLO 3
[/código]

O

Ir a la línea 31 :3 (Si no se tocó antes :Rodar los ojos:)

Verás esto:

[revelación]
// Operaciones
void Serializar( CAr & ar );

privado:
BOOL m_bExpirado;
time_t m_tFechaDeExpiración;
};


#define MAX_POCKET 3 // Esta es la cantidad máxima de mochilas que los jugadores pueden tener, no cambies esto a menos que sepas lo que estás haciendo.
#define POCKET_SLOT_SIZE_0 6 // Esta es la cantidad de ranuras en la PRIMERA bolsa .
#define POCKET_SLOT_SIZE_1_2 24 // Esta es la cantidad de ranuras en los DOS PAQUETES DE BOLSAS EXTRA .
[/revelación]

// -leyenda- \\
Rojo = Explicación
Azul = números editables, principalmente cantidades de ranuras
Verde = Números que no utilizaremos en este tutorial, en este caso número de cantidades máximas de mochilas.
Naranja = Innecesario, no lo usaremos.

Ahora, puedes cambiar los últimos 2 números a lo que quieras, pero te recomiendo no superar los 96 espacios porque esto causaría errores:thumbdown:.

Ex.
[Revelación]

#define MAX_POCKET 3 // No toqué este
#define POCKET_SLOT_SIZE_0 6 //Dejé este como estaba, ya que es solo un desplazamiento de una línea, lo cual es realmente molesto.
#define POCKET_SLOT_SIZE_1_2 90 //Cambié esto a 90, solo un número aleatorio para este tutorial.

[/Revelación]

¡Después de que hayas hecho todo, simplemente presiona guardar y crea LA SOLUCIÓN COMPLETA!



Mi inventario después de editarlo (con 90 espacios, un buen número):
MikeDecibel - [Source] Increase Bag-Pack space NOOB FRIENDLY - RaGEZONE Forums


Espero haberte enseñado algo ^_^

~Aspirar


Editar: asegúrate de poder dividirlo por 6, de lo contrario, aparecerá un error.
ex.
60/6=10 filas, con 6 ranuras cada una (=1 fila).
Edición 2: Recuerda que si cambias #define POCKET_SLOT_SIZE_1_2 cambiará AMBOS paquetes de bolsas adicionales, por lo que aumentarás MUCHO tu espacio de inventario si superas +- 48 = un total de 96 espacios en ambos paquetes de bolsas adicionales, incluida la primera fila, lo que hace 102 espacios en tu paquete de bolsas.
Hola mi querido amigo soy novato y estoy iniciando tengo una duda modifico los valores y guardo, luego cierro el visual studio que hago para que se cargue o actualice dentro del juego. muy agradecido por el apoyo recibido.

1720398597951 - [Source] Increase Bag-Pack space NOOB FRIENDLY - RaGEZONE Forums

Hello, when I open and change the values, I save it and re-enter the client but there are no changes, above it appears attach instead of running or creating the solution, could you please guide me, I am a total newbie, what else should I do
 
Last edited:
Back