apuadofrancisco
-
Content Count
67 -
Joined
-
Last visited
-
Days Won
1
Posts posted by apuadofrancisco
-
-
-
Following this thread.
-
bumping this post. a very big impediment on my side 😕
-
Hi Herc Community,
Does anyone know whats the problem of my aura? here's the following scenario for you to try and replicate..
Prerequisite: Must show aura on level 255. custom or default aura will do.
Client used: 20181121 + latest herc(clean and new download, no custom modifications) + clean Chris' data folder
Step 1: Change job to Champion (assuming learned all skills)
Step 2: use @evilclone to yourself (your evilclone should have aura also)
Step 3: attack your clone.
Step 4: check if aura is stacking if not, i think its my client/server files got corrupted.
or
Step 1: use @hide and attack dummy monster
Step 2: check if aura is stacking or not.
or
Step 1: change job to assassin cross
Step 2: use hide + grimtooth.
Step 3: check if aura is stacking or not.
Attached image is the sample of my bug/error.
https://streamable.com/77ube3
Thanks! -
im not sure about the patch but i just edit my current copy. just follow my very first commment/post and its good to go. also you need to change your datatype to smallint in in your guild_position table
-
-
can you show me your whole function for storage_guild_storageopen?
and are you using the latest herc? -
your mmo.h. is missing something and try again
QuoteGPERM_STORAGE = 0x100,
also you have 2
GPERM_ALL in your mmo.h -
can you show me the things youve edited ?
-
8 hours ago, rennison said:Good night, could you help me with Gstorage? Your guild's storage has already been opened by another member
what happen? just do everything on my first commend but use atcommand.c to my 2nd comment. be sure to change this lines...
Quoteif( gstorage->open(sd) ) {
clif->message(fd, msg_fd(fd,1201)); // Your guild's storage has already been opened by another member, try again later.
return false;
}if (sd->state.storage_flag == STORAGE_FLAG_NOPERMISSION) {
clif->message(fd, msg_fd(fd, 1202)); // You do not have permission to use the guild storage.
return false;
}to this one...
Quoteif( gstorage->open(sd)) {
if(sd->state.storage_flag != STORAGE_FLAG_NOPERMISSION)
clif->message(fd, msg_fd(fd, 1202)); // You do not have permission to use the guild storage.
else
clif->message(fd, msg_fd(fd,1201)); // Your guild's storage has already been opened by another member, try again later.
return false;
} -
Oh nvm, i already figured it out..
I updated this in my atcommand.c
SpoilerACMD(guildstorage)
{
if (!sd->status.guild_id) {
clif->message(fd, msg_fd(fd,252)); // You are not in a guild.
return false;
}if (sd->npc_id || sd->state.vending || sd->state.prevend || sd->state.buyingstore || sd->state.trading)
return false;if (sd->state.storage_flag == STORAGE_FLAG_NORMAL) {
clif->message(fd, msg_fd(fd,250)); // You have already opened your storage. Close it first.
return false;
}if (sd->state.storage_flag == STORAGE_FLAG_GUILD) {
clif->message(fd, msg_fd(fd,251)); // You have already opened your guild storage. Close it first.
return false;
}if (!pc_has_permission(sd, PC_PERM_BYPASS_NOSTORAGE) && (map->list[sd->bl.m].flag.nogstorage & 1)) { // mapflag nogstorage already defined? can't open :c
clif->message(fd, msg_fd(fd, 1161)); // You currently cannot open your storage. (there is no other messages...)
return false;
}if( gstorage->open(sd)) {
if(sd->state.storage_flag != STORAGE_FLAG_NOPERMISSION)
clif->message(fd, msg_fd(fd, 1202)); // You do not have permission to use the guild storage.
else
clif->message(fd, msg_fd(fd,1201)); // Your guild's storage has already been opened by another member, try again later.
return false;
}clif->message(fd, msg_fd(fd,920)); // Guild storage opened.
return true;
} -
Hi Guys,
I added the code in red text. everything is working well.
Updated. currently working on mine. please give a try and tell me if somethings wrong.
Database:
you need to change your datatype of mode to smallint in in your guild_position table
message.conf
Spoiler//1202 FREE - You do not have permission to use the guild storage.
1202: You do not have permission to use the guild storage.
mmo.hSpoilerenum guild_permission { // Guild permissions
GPERM_INVITE = 0x01,
GPERM_EXPEL = 0x10,
GPERM_STORAGE = 0x100,
GPERM_ALL = GPERM_INVITE | GPERM_EXPEL | GPERM_STORAGE,
GPERM_MASK = GPERM_ALL,
};storage.h
Spoiler* Acceptable values for map_session_data.state.storage_flag
*/
enum storage_flag {
STORAGE_FLAG_CLOSED = 0, // Closed
STORAGE_FLAG_NORMAL = 1, // Normal Storage open
STORAGE_FLAG_GUILD = 2, // Guild Storage open
STORAGE_FLAG_NOPERMISSION = 3, //Gstorage no permission
atcommand.cSpoilerACMD(guildstorage)
{int i;
struct guild* g;
g = sd->guild;if (!sd->status.guild_id) {
clif->message(fd, msg_fd(fd,252)); // You are not in a guild.
return false;
}if (sd->npc_id || sd->state.vending || sd->state.prevend || sd->state.buyingstore || sd->state.trading)
return false;if (sd->state.storage_flag == STORAGE_FLAG_NORMAL) {
clif->message(fd, msg_fd(fd,250)); // You have already opened your storage. Close it first.
return false;
}if (sd->state.storage_flag == STORAGE_FLAG_GUILD) {
clif->message(fd, msg_fd(fd,251)); // You have already opened your guild storage. Close it first.
return false;
}if (!pc_has_permission(sd, PC_PERM_BYPASS_NOSTORAGE) && (map->list[sd->bl.m].flag.nogstorage & 1)) { // mapflag nogstorage already defined? can't open :c
clif->message(fd, msg_fd(fd, 1161)); // You currently cannot open your storage. (there is no other messages...)
return false;
}if ((i = guild->getposition(g, sd)) < 0 || !(g->position.mode & GPERM_STORAGE)) {
clif->message(fd, msg_fd(fd, 1202)); // You do not have permission to use the guild storage.
return false;
}if( gstorage->open(sd) ) {
clif->message(fd, msg_fd(fd,1201)); // Your guild's storage has already been opened by another member, try again later.
return false;
}
clif->message(fd, msg_fd(fd,920)); // Guild storage opened.
return true;
} -
-
4 hours ago, Naruto said:the only person i know who plays with that is @Functor
yes! I hope Functor has enough time to teach us the basics
-
@Narutothis is still related to my question about how to move the positioning of the character selection in 2018 client coz its kind offset a little bit above than the usual thing
-
Hi guys,
Can somebody teach me the basics of disassembling a client? even just finding the right offset,
Thanks -
daniloleemes reacted to this -
-
-
Hi guys,
Im currently using latest herc and 2019-05-30aRagexeRE for my testing client.
Scenario:
When i click delete, it will be successfully deleted but it didnt refresh the list.and when i click delete again there will be an error in my map-server.
How can i prevent the error? or how can i refresh the list every time i click delete button?
Please see images below for reference:
RodEx UI:SpoilerError msg:
Spoiler
Rodex code incase you need it:SpoilerThanks,
Francisco Apuado
-
@Virtue -- thanks for your reply. currently im using 2019-05-30, so far so good, havent encountered any bugs/errors.
-
Alright! thanks so much for your answer. really helped me a lot!
-
Thanks for your answer. whats stable and kinda up-to-date client would you suggest?
-
Thanks for your reply. I tried 2019-05-30aRagexeRE, it now shows the guild emblem.
What client would you suggest for a replacement for my current client(2019-06-26bRagexeRE)?
Thanks,
Francisco Apuado
fix @gstorage permission
in Source Support
Posted
see my original or first post for the Guild Storage fix.
Thanks